Minikube Configuration: Difference between revisions
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
=Internal= | =Internal= | ||
* [[Minikube_Operations#Configuration|Minikube Operations]] | * [[Minikube_Operations#Configuration|Minikube Operations]] | ||
=Configure Kubernetes Version= | |||
Kubernetes version is specified in <code>/var/lib/minikube/kubeconfig</code>: | |||
<syntaxhighlight lang='yaml'> | |||
apiVersion: v1 | |||
clusters: | |||
- cluster: | |||
certificate-authority: /var/lib/minikube/certs/ca.crt | |||
extensions: | |||
- extension: | |||
last-update: Wed, 09 Jun 2021 02:18:00 UTC | |||
provider: minikube.sigs.k8s.io | |||
version: v1.20.0 | |||
name: cluster_info | |||
server: https://localhost:8443 | |||
name: m01 | |||
contexts: | |||
- context: | |||
cluster: m01 | |||
extensions: | |||
- extension: | |||
last-update: Wed, 09 Jun 2021 02:18:00 UTC | |||
provider: minikube.sigs.k8s.io | |||
version: v1.20.0 | |||
name: context_info | |||
user: m01 | |||
name: m01 | |||
current-context: m01 | |||
kind: Config | |||
preferences: {} | |||
users: | |||
- name: m01 | |||
user: | |||
client-certificate: /var/lib/minikube/certs/apiserver.crt | |||
client-key: /var/lib/minikube/certs/apiserver.key | |||
~ | |||
</syntaxhighlight> |
Revision as of 06:05, 10 June 2021
Internal
Configure Kubernetes Version
Kubernetes version is specified in /var/lib/minikube/kubeconfig
:
apiVersion: v1
clusters:
- cluster:
certificate-authority: /var/lib/minikube/certs/ca.crt
extensions:
- extension:
last-update: Wed, 09 Jun 2021 02:18:00 UTC
provider: minikube.sigs.k8s.io
version: v1.20.0
name: cluster_info
server: https://localhost:8443
name: m01
contexts:
- context:
cluster: m01
extensions:
- extension:
last-update: Wed, 09 Jun 2021 02:18:00 UTC
provider: minikube.sigs.k8s.io
version: v1.20.0
name: context_info
user: m01
name: m01
current-context: m01
kind: Config
preferences: {}
users:
- name: m01
user:
client-certificate: /var/lib/minikube/certs/apiserver.crt
client-key: /var/lib/minikube/certs/apiserver.key
~