Difference between revisions of "Kubectl create service loadbalancer"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
− | + | {{type LoadBalancer}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Activities == | == Activities == | ||
* [[Understand difference between Ingress vs Load Balancer]] | * [[Understand difference between Ingress vs Load Balancer]] | ||
+ | * Understand the differences between: <code>kubectl create service loadbalancer</code> and <code>[[kubectl expose deployment]]</code> | ||
== Related == | == Related == | ||
* [[Ingress]] | * [[Ingress]] | ||
− | * [[NGINX Ingress Controller]] | + | * [[NGINX Ingress Controller]]: <code>[[helm install nginx]]</code> |
* [[AWS Load Balancer Controller]] | * [[AWS Load Balancer Controller]] | ||
* <code>[[kubectl describe service]]</code> [<code>[[kubectl describe service loadbalancer | loadbalancer]]</code>] | * <code>[[kubectl describe service]]</code> [<code>[[kubectl describe service loadbalancer | loadbalancer]]</code>] | ||
− | * <code>[[kubectl expose deployment]]</code> | + | * <code>[[kubectl expose deployment]]: kubectl expose deployment mydeployment-name --type=LoadBalancer --name=mylbformydeployment</code> |
== See also == | == See also == |
Latest revision as of 20:19, 8 November 2023
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#-em-service-loadbalancer-em-
kubectl create service loadbalancer kubectl create service loadbalancer my-lbs --tcp=5678:8080
apiVersion: v1 kind: Service metadata: name: example-service spec: selector: app: example ports: - port: 8765 targetPort: 9376 type: LoadBalancer
Activities[edit]
- Understand difference between Ingress vs Load Balancer
- Understand the differences between:
kubectl create service loadbalancer
andkubectl expose deployment
Related[edit]
- Ingress
- NGINX Ingress Controller:
helm install nginx
- AWS Load Balancer Controller
kubectl describe service
[loadbalancer
]kubectl expose deployment: kubectl expose deployment mydeployment-name --type=LoadBalancer --name=mylbformydeployment
See also[edit]
kubectl create service loadbalancer
kubectl create service [ loadbalancer | clusterip | nodeport | extername ]
- Kubernetes services,
kubectl get services, kubectl describe service
,kubectl create service
[loadbalancer
|nodeport
|clusterip
|externalname ], kubectl expose
,headless service, service.beta.kubernetes.io
- Ingress controllers, NGINX Ingress Controller,
minikube addons enable ingress
,kubectl get ingress, kubectl get ingressclass, kubectl describe ingress
,Ingress:
, Ingress API, AWS Load Balancer Controller, Envoy Proxy, GKE Ingress, Kubernetes Gateway API,ingress.k8s.aws, ingresses.networking.k8s.io
,kind: Ingress
: (tls:, hosts:
),SuccessfullyReconciled
- Kubernetes LoadBalancer:
kubectl create service loadbalancer
Advertising: