Skip to content

Instantly share code, notes, and snippets.

@taisyo7333
Last active November 23, 2017 00:39
Show Gist options
  • Save taisyo7333/d5e89b453daf7fb009c817c8a807c752 to your computer and use it in GitHub Desktop.
Save taisyo7333/d5e89b453daf7fb009c817c8a807c752 to your computer and use it in GitHub Desktop.
minikube セットアップ(kubectl , kubernetes) on Mac
#
# Executes commands at the start of an interactive session.
#
# Authors:
# Sorin Ionescu <[email protected]>
#
# Source Prezto.
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi
# Customize to your needs...
export PYENV_ROOT="${HOME}/.pyenv"
export PATH="${PYENV_ROOT}/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
# EDITOR
export EDITOR="/usr/local/bin/emacs"
# for kubectl
if [ $commands[kubectl] ]; then
source <(kubectl completion zsh)
fi%

Agenda

Creating and exploring an nginx deployment

apiVersion: apps/v1beta2
kind: Deployment
metadata:
  name: nginx-deployment
spec:
  selector:
    matchLabels:
      app: nginx
  replicas: 2 # tells deployment to run 2 pods matching the template
  template: # create pods using pod definition in this template
    metadata:
      # unlike pod-nginx.yaml, the name is not included in the meta data as a unique name is
      # generated from the deployment name
      labels:
        app: nginx
    spec:
      containers:
      - name: nginx
        image: nginx:1.7.9
        ports:
        - containerPort: 80

1. Create a Deployment based on the YAML file

$ kubectl apply -f https://k8s.io/docs/tasks/run-application/deployment.yaml
deployment "nginx-deployment" created

2. Display information about the Deployment

$ kubectl describe deployment nginx-deployment
Name:                   nginx-deployment
Namespace:              default
CreationTimestamp:      Sun, 05 Nov 2017 11:53:47 +0900
Labels:                 app=nginx
Annotations:            deployment.kubernetes.io/revision=1
                        kubectl.kubernetes.io/last-applied-configuration={"apiVersion":"apps/v1beta2","kind":"Deployment","metadata":{"annotations":{},"name":"nginx-deployment","namespace":"default"},"spec":{"replicas":2,"se...
Selector:               app=nginx
Replicas:               2 desired | 2 updated | 2 total | 2 available | 0 unavailable
StrategyType:           RollingUpdate
MinReadySeconds:        0
RollingUpdateStrategy:  25% max unavailable, 25% max surge
Pod Template:
  Labels:  app=nginx
  Containers:
   nginx:
    Image:        nginx:1.7.9
    Port:         80/TCP
    Environment:  <none>
    Mounts:       <none>
  Volumes:        <none>
Conditions:
  Type           Status  Reason
  ----           ------  ------
  Available      True    MinimumReplicasAvailable
  Progressing    True    NewReplicaSetAvailable
OldReplicaSets:  <none>
NewReplicaSet:   nginx-deployment-569477d6d8 (2/2 replicas created)
Events:
  Type    Reason             Age   From                   Message
  ----    ------             ----  ----                   -------
  Normal  ScalingReplicaSet  3m    deployment-controller  Scaled up replica set nginx-deployment-569477d6d8 to 2

3. List the pods created by the deployment:

$ kubectl get pods -l app=nginx
NAME                                READY     STATUS    RESTARTS   AGE
nginx-deployment-569477d6d8-79gv7   1/1       Running   0          4m
nginx-deployment-569477d6d8-8qkvm   1/1       Running   0          4m

4. Display information about a pod

$ kubectl describe pod nginx-deployment
Name:           nginx-deployment-569477d6d8-79gv7
Namespace:      default
Node:           minikube/192.168.99.101
Start Time:     Sun, 05 Nov 2017 11:53:47 +0900
Labels:         app=nginx
                pod-template-hash=1250338284
Annotations:    kubernetes.io/created-by={"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicaSet","namespace":"default","name":"nginx-deployment-569477d6d8","uid":"8b322ac5-c1d4-11e7-a4b5-0800...
Status:         Running
IP:             172.17.0.5
Created By:     ReplicaSet/nginx-deployment-569477d6d8
Controlled By:  ReplicaSet/nginx-deployment-569477d6d8
Containers:
  nginx:
    Container ID:   docker://8b602b3dfc90f6490921bc03aa450472e6f92b89ba50775d49b1fbe6f820da58
    Image:          nginx:1.7.9
    Image ID:       docker-pullable://nginx@sha256:e3456c851a152494c3e4ff5fcc26f240206abac0c9d794affb40e0714846c451
    Port:           80/TCP
    State:          Running
      Started:      Sun, 05 Nov 2017 11:53:47 +0900
    Ready:          True
    Restart Count:  0
    Environment:    <none>
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-p7qcn (ro)
Conditions:
  Type           Status
  Initialized    True 
  Ready          True 
  PodScheduled   True 
Volumes:
  default-token-p7qcn:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  default-token-p7qcn
    Optional:    false
QoS Class:       BestEffort
Node-Selectors:  <none>
Tolerations:     <none>
Events:
  Type    Reason                 Age   From               Message
  ----    ------                 ----  ----               -------
  Normal  Scheduled              6m    default-scheduler  Successfully assigned nginx-deployment-569477d6d8-79gv7 to minikube
  Normal  SuccessfulMountVolume  6m    kubelet, minikube  MountVolume.SetUp succeeded for volume "default-token-p7qcn"
  Normal  Pulled                 6m    kubelet, minikube  Container image "nginx:1.7.9" already present on machine
  Normal  Created                6m    kubelet, minikube  Created container
  Normal  Started                6m    kubelet, minikube  Started container

Name:           nginx-deployment-569477d6d8-8qkvm
Namespace:      default
Node:           minikube/192.168.99.101
Start Time:     Sun, 05 Nov 2017 11:53:47 +0900
Labels:         app=nginx
                pod-template-hash=1250338284
Annotations:    kubernetes.io/created-by={"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicaSet","namespace":"default","name":"nginx-deployment-569477d6d8","uid":"8b322ac5-c1d4-11e7-a4b5-0800...
Status:         Running
IP:             172.17.0.4
Created By:     ReplicaSet/nginx-deployment-569477d6d8
Controlled By:  ReplicaSet/nginx-deployment-569477d6d8
Containers:
  nginx:
    Container ID:   docker://f3eaaa96c7ea3c3a12a416d4a113e24699e72f585e799c4fd22d7079c1d94f7b
    Image:          nginx:1.7.9
    Image ID:       docker-pullable://nginx@sha256:e3456c851a152494c3e4ff5fcc26f240206abac0c9d794affb40e0714846c451
    Port:           80/TCP
    State:          Running
      Started:      Sun, 05 Nov 2017 11:53:47 +0900
    Ready:          True
    Restart Count:  0
    Environment:    <none>
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-p7qcn (ro)
Conditions:
  Type           Status
  Initialized    True 
  Ready          True 
  PodScheduled   True 
Volumes:
  default-token-p7qcn:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  default-token-p7qcn
    Optional:    false
QoS Class:       BestEffort
Node-Selectors:  <none>
Tolerations:     <none>
Events:
  Type    Reason                 Age   From               Message
  ----    ------                 ----  ----               -------
  Normal  Scheduled              6m    default-scheduler  Successfully assigned nginx-deployment-569477d6d8-8qkvm to minikube
  Normal  SuccessfulMountVolume  6m    kubelet, minikube  MountVolume.SetUp succeeded for volume "default-token-p7qcn"
  Normal  Pulled                 6m    kubelet, minikube  Container image "nginx:1.7.9" already present on machine
  Normal  Created                6m    kubelet, minikube  Created container
  Normal  Started                6m    kubelet, minikube  Started container

Updating the deployment

apiVersion: apps/v1beta2
kind: Deployment
metadata:
  name: nginx-deployment
spec:
  selector:
    matchLabels:
      app: nginx
  replicas: 2
  template:
    metadata:
      labels:
        app: nginx
    spec:
      containers:
      - name: nginx
        image: nginx:1.8 # Update the version of nginx from 1.7.9 to 1.8
        ports:
        - containerPort: 80

5. Apply the new YAML file

$ kubectl apply -f https://k8s.io/docs/tasks/run-application/deployment-update.yaml
deployment "nginx-deployment" configured

6. Watch the deployment create pods with new names and delete the old pods:

$ kubectl get pods -l app=nginx
NAME                                READY     STATUS        RESTARTS   AGE
nginx-deployment-569477d6d8-79gv7   0/1       Terminating   0          8m
nginx-deployment-569477d6d8-8qkvm   0/1       Terminating   0          8m
nginx-deployment-f95b7b6b8-26vlt    1/1       Running       0          9s
nginx-deployment-f95b7b6b8-mvmgz    1/1       Running       0          8s

Scaling the application by increasing the replica count

apiVersion: apps/v1beta2
kind: Deployment
metadata:
  name: nginx-deployment
spec:
  selector:
    matchLabels:
      app: nginx
  replicas: 4 # Update the replicas from 2 to 4
  template:
    metadata:
      labels:
        app: nginx
    spec:
      containers:
      - name: nginx
        image: nginx:1.8
        ports:
        - containerPort: 80

7. Apply the new YAML file

$ kubectl apply -f https://k8s.io/docs/tasks/run-application/deployment-scale.yaml
deployment "nginx-deployment" configured

8. Verify that the Deployment has four pods

$ kubectl get pods -l app=nginx
NAME                               READY     STATUS    RESTARTS   AGE
nginx-deployment-f95b7b6b8-26vlt   1/1       Running   0          7m
nginx-deployment-f95b7b6b8-mvmgz   1/1       Running   0          7m
nginx-deployment-f95b7b6b8-q4wwm   1/1       Running   0          3m
nginx-deployment-f95b7b6b8-rkfvg   1/1       Running   0          3m

Deleting a deployment

Delete the deployment by name

$ kubectl delete deployment nginx-deployment
deployment "nginx-deployment" deleted

Agenda

kubectl使い方まとめ

Install

$ brew install kubectl

version

$ kubectl version 
Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.2", GitCommit:"bdaeafa71f6c7c04636251031f93464384d54963", GitTreeState:"clean", BuildDate:"2017-10-24T21:07:53Z", GoVersion:"go1.9.1", Compiler:"gc", Platform:"darwin/amd64"}

which?

$ which kubectl
/usr/local/bin/kubectl

CLI

create

$ kubectl create -f https://raw.githubusercontent.com/kubernetes/website/master/docs/concepts/workloads/controllers/nginx-deployment.yaml
deployment "nginx-deployment" created

apply -f XXX

$ kubectl apply -f https://k8s.io/docs/tasks/run-application/deployment-scale.yaml
deployment "nginx-deployment" configured

run

$ kubectl run hello-minikube --image=gcr.io/google_containers/echoserver:1.4 --port=8080
deployment "hello-minikube" created

expose

$ kubectl expose deployment hello-minikube --type=NodePort
service "hello-minikube" exposed

get

get pod

$ kubectl get pod
NAME                              READY     STATUS    RESTARTS   AGE
hello-minikube-5bc754d4cd-db5mj   1/1       Running   0          1m

get rs

$ kubectl get rs
NAME                          DESIRED   CURRENT   READY     AGE
nginx-deployment-569477d6d8   0         0         0         49m
nginx-deployment-6bd4859cdb   3         3         3         1m

get services

$ kubectl get services
NAME         TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)   AGE
kubernetes   ClusterIP   10.0.0.1     <none>        443/TCP   5h

get nodes

$ kubectl get nodes
NAME       STATUS    ROLES     AGE       VERSION
minikube   Ready     <none>    6h        v1.8.0

get deployment XXXX -o yaml

$ kubectl get deployment nginx-deployment -o yaml

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  annotations:
    deployment.kubernetes.io/revision: "7"
  creationTimestamp: 2017-11-05T07:38:01Z
  generation: 10
  labels:
    app: nginx
  name: nginx-deployment
  namespace: default
  resourceVersion: "4949"
  selfLink: /apis/extensions/v1beta1/namespaces/default/deployments/nginx-deployment
  uid: 404f5639-c1fc-11e7-b540-080027079ee1
spec:
  progressDeadlineSeconds: 600
  replicas: 10
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      app: nginx
  strategy:
    rollingUpdate:
      maxSurge: 25%
      maxUnavailable: 25%
    type: RollingUpdate
  template:
    metadata:
      creationTimestamp: null
      labels:
        app: nginx
    spec:
      containers:
      - image: nginx:1.9.1
        imagePullPolicy: IfNotPresent
        name: nginx
        ports:
        - containerPort: 80
          protocol: TCP
        resources: {}
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
      dnsPolicy: ClusterFirst
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      terminationGracePeriodSeconds: 30
status:
  availableReplicas: 10
  conditions:
  - lastTransitionTime: 2017-11-05T10:51:38Z
    lastUpdateTime: 2017-11-05T10:51:38Z
    message: Deployment has minimum availability.
    reason: MinimumReplicasAvailable
    status: "True"
    type: Available
  - lastTransitionTime: 2017-11-05T10:54:44Z
    lastUpdateTime: 2017-11-05T10:54:44Z
    message: ReplicaSet "nginx-deployment-6bd4859cdb" has successfully progressed.
    reason: NewReplicaSetAvailable
    status: "True"
    type: Progressing
  observedGeneration: 10
  readyReplicas: 10
  replicas: 10
  updatedReplicas: 10

config view

https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/

$ kubectl config view
apiVersion: v1
clusters:
- cluster:
    certificate-authority: /Users/<user>/.minikube/ca.crt
    server: https://192.168.99.100:8443
  name: minikube
contexts:
- context:
    cluster: minikube
    user: minikube
  name: minikube
current-context: minikube
kind: Config
preferences: {}
users:
- name: minikube
  user:
    client-certificate: /Users/<user>/.minikube/client.crt
    client-key: /Users/<user>/.minikube/client.key

set image

$ kubectl set image deployment/nginx-deployment nginx=nginx:1.9.1
deployment "nginx-deployment" image updated

rollout

rollout status

$ kubectl rollout status deployment/nginx-deployment
deployment "nginx-deployment" successfully rolled out

rollout history

  • --recordを使っていないと記録されない
$ kubectl rollout history deployment/nginx-deployment
deployments "nginx-deployment"
REVISION  CHANGE-CAUSE
1         <none>
2         <none>
3         <none>
4         <none>

rollout undo

$ kubectl rollout undo deployment/nginx-deployment
deployment "nginx-deployment" rolled back

rollout pause

$ kubectl rollout pause deployment/nginx-deployment
deployment "nginx-deployment" paused

rollout resume

$ kubectl rollout resume deployment/nginx-deployment
deployment "nginx-deployment" resumed

edit XXX

$ kubectl edit deployment/nginx-deployment 

describe deployments

$ kubectl describe deployments
Name:                   nginx-deployment
Namespace:              default
CreationTimestamp:      Sun, 05 Nov 2017 16:38:01 +0900
Labels:                 app=nginx
Annotations:            deployment.kubernetes.io/revision=3
Selector:               app=nginx
Replicas:               3 desired | 3 updated | 3 total | 3 available | 0 unavailable
StrategyType:           RollingUpdate
MinReadySeconds:        0
RollingUpdateStrategy:  25% max unavailable, 25% max surge
Pod Template:
  Labels:  app=nginx
  Containers:
   nginx:
    Image:        nginx:1.9.0
    Port:         80/TCP
    Environment:  <none>
    Mounts:       <none>
  Volumes:        <none>
Conditions:
  Type           Status  Reason
  ----           ------  ------
  Available      True    MinimumReplicasAvailable
  Progressing    True    NewReplicaSetAvailable
OldReplicaSets:  <none>
NewReplicaSet:   nginx-deployment-779765c687 (3/3 replicas created)
Events:
  Type    Reason             Age   From                   Message
  ----    ------             ----  ----                   -------
  Normal  ScalingReplicaSet  1h    deployment-controller  Scaled up replica set nginx-deployment-569477d6d8 to 3
  Normal  ScalingReplicaSet  16m   deployment-controller  Scaled up replica set nginx-deployment-6bd4859cdb to 1
  Normal  ScalingReplicaSet  16m   deployment-controller  Scaled down replica set nginx-deployment-569477d6d8 to 2
  Normal  ScalingReplicaSet  16m   deployment-controller  Scaled up replica set nginx-deployment-6bd4859cdb to 2
  Normal  ScalingReplicaSet  16m   deployment-controller  Scaled down replica set nginx-deployment-569477d6d8 to 1
  Normal  ScalingReplicaSet  16m   deployment-controller  Scaled up replica set nginx-deployment-6bd4859cdb to 3
  Normal  ScalingReplicaSet  16m   deployment-controller  Scaled down replica set nginx-deployment-569477d6d8 to 0
  Normal  ScalingReplicaSet  3m    deployment-controller  Scaled up replica set nginx-deployment-779765c687 to 1
  Normal  ScalingReplicaSet  3m    deployment-controller  Scaled down replica set nginx-deployment-6bd4859cdb to 2
  Normal  ScalingReplicaSet  3m    deployment-controller  Scaled up replica set nginx-deployment-779765c687 to 2
  Normal  ScalingReplicaSet  3m    deployment-controller  Scaled down replica set nginx-deployment-6bd4859cdb to 1
  Normal  ScalingReplicaSet  3m    deployment-controller  Scaled up replica set nginx-deployment-779765c687 to 3
  Normal  ScalingReplicaSet  3m    deployment-controller  Scaled down replica set nginx-deployment-6bd4859cdb to 0

scale deployment

$ kubectl scale deployment nginx-deployment --replicas=10
deployment "nginx-deployment" scaled

autoscale

$ kubectl autoscale deployment nginx-deployment --min=10 --max=15 --cpu-percent=80
deployment "nginx-deployment" autoscaled

patch

$ kubectl patch deployment/nginx-deployment -p '{"spec":{"progressDeadlineSeconds":600}}'
deployment "nginx-deployment" not patched

概要

  1. Install kubectl
  2. Install minikube
  3. start , stop & delete minikube

kubectl

Install

$ brew install kubectl

確認

$ kubectl version 
Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.2", GitCommit:"bdaeafa71f6c7c04636251031f93464384d54963", GitTreeState:"clean", BuildDate:"2017-10-24T21:07:53Z", GoVersion:"go1.9.1", Compiler:"gc", Platform:"darwin/amd64"}
$ which kubectl
/usr/local/bin/kubectl

minikube

Install

brew cask install minikube

どこにインストールされたか

$ which minikube                                                                                                               /usr/local/bin/minikube

version

$ minikube version
minikube version: v0.23.0

help

$ minikube
Minikube is a CLI tool that provisions and manages single-node Kubernetes clusters optimized for development workflows.

Usage:
  minikube [command]

Available Commands:
  addons           Modify minikube's kubernetes addons
  completion       Outputs minikube shell completion for the given shell (bash)
  config           Modify minikube config
  dashboard        Opens/displays the kubernetes dashboard URL for your local cluster
  delete           Deletes a local kubernetes cluster
  docker-env       Sets up docker env variables; similar to '$(docker-machine env)'
  get-k8s-versions Gets the list of available kubernetes versions available for minikube
  ip               Retrieves the IP address of the running cluster
  logs             Gets the logs of the running localkube instance, used for debugging minikube, not user code
  mount            Mounts the specified directory into minikube
  profile          Profile sets the current minikube profile
  service          Gets the kubernetes URL(s) for the specified service in your local cluster
  ssh              Log into or run a command on a machine with SSH; similar to 'docker-machine ssh'
  ssh-key          Retrieve the ssh identity key path of the specified cluster
  start            Starts a local kubernetes cluster
  status           Gets the status of a local kubernetes cluster
  stop             Stops a running local kubernetes cluster
  update-context   Verify the IP address of the running cluster in kubeconfig.
  version          Print the version of minikube

Flags:
      --alsologtostderr                  log to standard error as well as files
  -b, --bootstrapper string              The name of the cluster bootstrapper that will set up the kubernetes cluster. (default "localkube")
  -h, --help                             help for minikube
      --log_backtrace_at traceLocation   when logging hits line file:N, emit a stack trace (default :0)
      --log_dir string                   If non-empty, write log files in this directory
      --loglevel int                     Log level (0 = DEBUG, 5 = FATAL) (default 1)
      --logtostderr                      log to standard error instead of files
  -p, --profile string                   The name of the minikube VM being used.  
	This can be modified to allow for multiple minikube instances to be run independently (default "minikube")
      --stderrthreshold severity         logs at or above this threshold go to stderr (default 2)
  -v, --v Level                          log level for V logs
      --vmodule moduleSpec               comma-separated list of pattern=N settings for file-filtered logging

Use "minikube [command] --help" for more information about a command.

start

https://github.com/kubernetes/minikube

$ minikube start                                                                                                               

Starting local Kubernetes v1.8.0 cluster...
Starting VM...
Downloading Minikube ISO
 140.01 MB / 140.01 MB [============================================] 100.00% 0s
Getting VM IP address...
Moving files into cluster...
Downloading localkube binary
 148.56 MB / 148.56 MB [============================================] 100.00% 0s
Setting up certs...
Connecting to cluster...
Setting up kubeconfig...
Starting cluster components...
Kubectl is now configured to use the cluster.


$ kubectl run hello-minikube --image=gcr.io/google_containers/echoserver:1.4 --port=8080
deployment "hello-minikube" created


$ kubectl expose deployment hello-minikube --type=NodePort
service "hello-minikube" exposed


$ kubectl get pod
NAME                              READY     STATUS    RESTARTS   AGE
hello-minikube-5bc754d4cd-db5mj   1/1       Running   0          1m


$ curl $(minikube service hello-minikube --url)

CLIENT VALUES:
client_address=172.17.0.1
command=GET
real path=/
query=nil
request_version=1.1
request_uri=http://192.168.99.100:8080/

SERVER VALUES:
server_version=nginx: 1.10.0 - lua: 10001

HEADERS RECEIVED:
accept=*/*
host=192.168.99.100:30068
user-agent=curl/7.54.0
BODY:
-no body in request-%


$ minikube service hello-minikube --url
http://192.168.99.100:30068


$ minikube stop

Stopping local Kubernetes cluster...
Machine stopped.


$ kubectl get pod
Unable to connect to the server: dial tcp 192.168.99.100:8443: getsockopt: operation timed out

Delete

$ minikube delete

find username

https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/

kubectl config view                                                                                                           
apiVersion: v1
clusters:
- cluster:
    certificate-authority: /Users/<user>/.minikube/ca.crt
    server: https://192.168.99.100:8443
  name: minikube
contexts:
- context:
    cluster: minikube
    user: minikube
  name: minikube
current-context: minikube
kind: Config
preferences: {}
users:
- name: minikube
  user:
    client-certificate: /Users/<user>/.minikube/client.crt
    client-key: /Users/<user>/.minikube/client.key

get-k8s-versions

$ minikube get-k8s-versions

The following Kubernetes versions are available: 
	- v1.8.0
	- v1.7.5
	- v1.7.4
	- v1.7.3
	- v1.7.2
	- v1.7.0
	- v1.7.0-rc.1
	- v1.7.0-alpha.2
	- v1.6.4
	- v1.6.3
	- v1.6.0
	- v1.6.0-rc.1
	- v1.6.0-beta.4
	- v1.6.0-beta.3
	- v1.6.0-beta.2
	- v1.6.0-alpha.1
	- v1.6.0-alpha.0
	- v1.5.3
	- v1.5.2
	- v1.5.1
	- v1.4.5
	- v1.4.3
	- v1.4.2
	- v1.4.1
	- v1.4.0
	- v1.3.7
	- v1.3.6
	- v1.3.5
	- v1.3.4
	- v1.3.3
	- v1.3.0

IP

$ minikube ip
192.168.99.100

ssh

$ minikube ssh
                         _             _            
            _         _ ( )           ( )           
  ___ ___  (_)  ___  (_)| |/')  _   _ | |_      __  
/' _ ` _ `\| |/' _ `\| || , <  ( ) ( )| '_`\  /'__`\
| ( ) ( ) || || ( ) || || |\`\ | (_) || |_) )(  ___/
(_) (_) (_)(_)(_) (_)(_)(_) (_)`\___/'(_,__/'`\____)

$ 
@taisyo7333
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment