Minikube Configuration: Difference between revisions
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=External= | |||
=Internal= | =Internal= | ||
* [[Minikube_Operations#Configuration|Minikube Operations]] | * [[Minikube_Operations#Configuration|Minikube Operations]] | ||
=Overview= | |||
=Configure Kubernetes Version= | |||
Kubernetes version is specified in: | |||
=<tt>/var/lib/minikube/kubeconfig</tt>= | |||
<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> |
Latest revision as of 06:07, 10 June 2021
External
Internal
Overview
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
~