Do this:
export KUBECONFIG=~/.kube/config:~/someotherconfig
kubectl config view --flatten
You can then pipe that out to a new file if needed.
More Related Contents:
- How do I test a ClusterIssuer solver?
- pod has unbound PersistentVolumeClaims
- What’s the difference between ClusterIP, NodePort and LoadBalancer service types in Kubernetes?
- Service located in another namespace
- My kubernetes pods keep crashing with “CrashLoopBackOff” but I can’t find any log
- How do I access the Kubernetes api from within a pod container?
- How to pull environment variables with Helm charts
- Expose port in minikube
- chown: changing ownership of ‘/data/db’: Operation not permitted
- Why container memory usage is doubled in cAdvisor metrics?
- Mount local directory into pod in minikube
- Invalid x509 certificate for kubernetes master
- Can a PVC be bound to a specific PV?
- Kubernetes Cross Namespace Ingress Network
- Adding insecure registry in containerd
- Namespace “stuck” as Terminating, How I removed it
- no matches for kind “Deployment” in version “extensions/v1beta1”
- how to pass environment variable in kubectl deployment?
- What is a headless service, what does it do/accomplish, and what are some legitimate use cases for it?
- Ingress configuration for k8s in different namespaces
- CircleCI message “error: exec plugin: invalid apiVersion “client.authentication.k8s.io/v1alpha1”
- How to access/expose kubernetes-dashboard service outside of a cluster?
- Can I set custom ports for a Kubernetes ingress to listen on besides 80 / 443?
- 413 error with Kubernetes and Nginx ingress controller
- How do I set ulimit for containers in Kubernetes?
- Kubernetes PVC with ReadWriteMany on AWS
- gcloud ingress loadbalancer / static ip
- Kubernetes Persistent Volume Access Modes: ReadWriteOnce vs ReadOnlyMany vs ReadWriteMany
- Listing all resources in a namespace
- Renew kubernetes pki after expired