$ minikube start --driver=virtualbox --kubernetes-version=1.15.5 😄 minikube v1.18.1 on Darwin 10.12.6 ✨ Using the virtualbox driver based on user configuration 👍 Starting control plane node minikube in cluster minikube 🔥 Creating virtualbox VM (CPUs=2, Memory=4000MB, Disk=20000MB) ... > kubelet.sha1: 41 B / 41 B [----------------------------] 100.00% ? p/s 0s > kubectl.sha1: 41 B / 41 B [----------------------------] 100.00% ? p/s 0s > kubeadm.sha1: 41 B / 41 B [----------------------------] 100.00% ? p/s 0s > kubeadm: 38.33 MiB / 38.33 MiB [---------------] 100.00% 2.29 MiB p/s 17s > kubectl: 41.00 MiB / 41.00 MiB [---------------] 100.00% 1.87 MiB p/s 22s > kubelet: 114.14 MiB / 114.14 MiB [-------------] 100.00% 3.56 MiB p/s 32s
▪ Generating certificates and keys ... ▪ Booting up control plane ... ▪ Configuring RBAC rules ... 🔎 Verifying Kubernetes components... ▪ Using image registry.cn-hangzhou.aliyuncs.com/google_containers/storage-provisioner:v4 (global image repository) 🌟 Enabled addons: storage-provisioner, default-storageclass 🏄 Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default
$ kubectl describe deployment nginx-deployment Name: nginx-deployment Namespace: default CreationTimestamp: Wed, 07 Jul 2021 23:37:59 +0800 Labels: <none> Annotations: deployment.kubernetes.io/revision: 3 kubectl.kubernetes.io/last-applied-configuration: {"apiVersion":"apps/v1","kind":"Deployment","metadata":{"annotations":{},"name":"nginx-deployment","namespace":"default"},"spec":{"replica... Selector: app=nginx Replicas: 4 desired | 4 updated | 4 total | 4 available | 0 unavailable StrategyType: RollingUpdate MinReadySeconds: 0 RollingUpdateStrategy: 25% max unavailable, 25% max surge Pod Template: Labels: app=nginx Containers: nginx: Image: nginx:1.14.2 Port: 80/TCP Host Port: 0/TCP Environment: <none> Mounts: <none> Volumes: <none> Conditions: Type Status Reason ---- ------ ------ Available True MinimumReplicasAvailable Progressing True NewReplicaSetAvailable OldReplicaSets: <none> NewReplicaSet: nginx-deployment-7fd6966748 (4/4 replicas created) Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal ScalingReplicaSet 4m38s deployment-controller Scaled up replica set nginx-deployment-6f9d665859 to 1 Normal ScalingReplicaSet 4m14s deployment-controller Scaled down replica set nginx-deployment-7fd6966748 to 1 Normal ScalingReplicaSet 4m14s deployment-controller Scaled up replica set nginx-deployment-6f9d665859 to 2 Normal ScalingReplicaSet 4m13s deployment-controller Scaled down replica set nginx-deployment-7fd6966748 to 0 Normal ScalingReplicaSet 94s (x2 over 14m) deployment-controller Scaled up replica set nginx-deployment-7fd6966748 to 2 Normal ScalingReplicaSet 94s deployment-controller Scaled up replica set nginx-deployment-6f9d665859 to 4 Normal ScalingReplicaSet 94s deployment-controller Scaled up replica set nginx-deployment-7fd6966748 to 1 Normal ScalingReplicaSet 94s deployment-controller Scaled down replica set nginx-deployment-6f9d665859 to 3 Normal ScalingReplicaSet 92s deployment-controller Scaled down replica set nginx-deployment-6f9d665859 to 2 Normal ScalingReplicaSet 90s (x4 over 92s) deployment-controller (combined from similar events): Scaled down replica set nginx-deployment-6f9d665859 to 0