Minikube Configuration

From NovaOrdis Knowledge Base
Revision as of 06:06, 10 June 2021 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

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
~