You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apiVersion: v1kind: Servicemetadata:
name: nlb-usermgmt-restapplabels:
app: usermgmt-restappannotations:
service.beta.kubernetes.io/aws-load-balancer-type: nlb # To create Network Load Balancerspec:
type: LoadBalancer # Regular k8s Service manifest with type as LoadBalancerselector:
app: usermgmt-restapp ports:
- port: 80targetPort: 8095
Deploy all Manifest
# Deploy all manifests
kubectl apply -f kube-manifests/
# List Services (Verify newly created NLB Service)
kubectl get svc
# Verify Pods
kubectl get pods
Step-02: Verify the deployment
Verify if new CLB got created
Go to Services -> EC2 -> Load Balancing -> Load Balancers
CLB should be created
Copy DNS Name (Example: a85ae6e4030aa4513bd200f08f1eb9cc-7f13b3acc1bcaaa2.elb.us-east-1.amazonaws.com)
Go to Services -> EC2 -> Load Balancing -> Target Groups