-
Notifications
You must be signed in to change notification settings - Fork 0
Kubernetes
Brent Kulwicki edited this page Jun 12, 2023
·
1 revision
# list out your profiles:
kubectl config get-contexts
kubectl config use-context FFProd
# outputs -> Switched to context "FFProd"
# get your current context:
kubectl config current-context
# outputs -> FFProd
# examine the cluster resources:
kubectl get all
# examine the ingress:
kubectl get ingress # or kubectl get ing
# examine namespaces:
kubectl get namespaces
# ingress for a specific namespace:
kubectl get ing -n n8n
# describe the ingress:
kubectl describe ing/n8n -n n8n
# edit an ingress:
kubectl describe edit ing/n8n -n n8n
# or instead of typing a namespace a hundred times:
kubectl config set-context --current --namespace=n8n-
aws --profile FFProd eks update-kubeconfig --name production-eks-CkYDOOIe --alias FFProdWhen setting up the specific service, like EKS, you will need to copy the production name (as seen just after--nameabove) to use the proper environment.