[Docker Install]
[kubectl Install]
[minikube Install]
[root@ip-172-31-3-214 ~]# minikube start --driver=none
* minikube v1.18.1 on Amazon 2 (xen/amd64)
* Using the none driver based on user configuration
X Exiting due to GUEST_MISSING_CONNTRACK: Sorry, Kubernetes 1.20.2 requires conntrack to be installed in root's path
[Conntrack 설치 후 재시작]
[root@ip-172-31-3-214 ~]# yum install conntrack
...
[root@ip-172-31-3-214 ~]# minikube start --driver=none
* minikube v1.18.1 on Amazon 2 (xen/amd64)
* Using the none driver based on user configuration
* Starting control plane node minikube in cluster minikube
* Running on localhost (CPUs=2, Memory=3942MB, Disk=51187MB) ...
* OS release is Amazon Linux 2
> kubectl.sha256: 64 B / 64 B [--------------------------] 100.00% ? p/s 0s \
> kubectl: 38.37 MiB / 38.37 MiB [---------------] 100.00% 27.60 MiB p/s 2s /
> kubelet: 108.73 MiB / 108.73 MiB [-------------] 100.00% 34.07 MiB p/s 3s
- Generating certificates and keys ...
- Booting up control plane ...
- Configuring RBAC rules ...
* Configuring local host environment ...
*
! The 'none' driver is designed for experts who need to integrate with an existing VM
* Most users should use the newer 'docker' driver instead, which does not require root!
* For more information, see: https://minikube.sigs.k8s.io/docs/reference/drivers/none/
*
! kubectl and minikube configuration will be stored in /root
! To use kubectl or minikube commands as your own user, you may need to relocate them. For example, to overwrite your own settings, run:
*
- sudo mv /root/.kube /root/.minikube $HOME
- sudo chown -R $USER $HOME/.kube $HOME/.minikube
*
* This can also be done automatically by setting the env var CHANGE_MINIKUBE_NONE_USER=true
* Verifying Kubernetes components...
- Using image gcr.io/k8s-minikube/storage-provisioner:v4
* Enabled addons: default-storageclass, storage-provisioner
* kubectl not found. If you need it, try: 'minikube kubectl -- get pods -A'
* Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default
'Compute > EC2' 카테고리의 다른 글
AWS Spot Instance 이해하기 (0) | 2019.12.24 |
---|---|
AWS EC2 User data script sample(node.js) (0) | 2019.07.23 |
AWS EC2 EIP 사용 시 HA 구성 (0) | 2017.04.10 |
Amazon EC2 태그 기준으로 Instance Private IP 확인 CLI (0) | 2016.12.23 |
Amazon EC2 MySQL 5.6 설치 (0) | 2016.10.04 |