- I had pull my
azure acs
credentials using below command and I can communicate withkubernetes machine
on Azure from my local machineaz acs kubernetes get-credentials --resource-group=<cluster-resource-group> --name=<cluster-name>
But Now I wanted to disconnect this connection so that my kubctl can connect with other machine , it can be local or any other machine (I am trying to connect with local).
But everytime I ran
kubectl command
it communicate withAzure ACS
相关问题
- Microk8s, MetalLB, ingress-nginx - How to route ex
- How do I change the storage class of existing pers
- running headless chrome in an microsoft azure web
- Docker task in Azure devops won't accept "$(pw
- Use awslogs with kubernetes 'natively'
相关文章
- k8s 访问Pod 时好时坏
- Override env values defined in container spec
- How do I create a persistent volume claim with Rea
- SQL Azure Reset autoincrement
- How to obtain the enable admission controller list
- Difference between API versions v2beta1 and v2beta
- How to cast Azure DocumentDB Document class to my
- MountVolume.SetUp failed for volume “nfs” : mount
For your scenario, we can use
kubectl config use-context CONTEXT_NAME
to switch default cluster to others, in this way, we can switch to another k8s cluster.We can use this command to list k8s contexts:
Specify k8s cluster name, we can use this command
kubectl config use-context CONTEXT_NAME
:For example: