UCOM
校條時間
[root@minikube ~]# crontab -e no crontab for root - using an empty one crontab: installing new crontab [root@minikube ~]# crontab -l
- /usr/sbin/ntpdate -b -u time.stdtime.gov.tw > /dev/null 2>&1
VMware images
docker 指令
安裝
yum install docker -y
systemctl start docker
systemctl enable docker
systemctl status docker
docker images
docker vs podman
docker pull mysql podman pull mysql
kubernetes vs openshiftt(openshift container platform)
kubectl get nodes oc get nodes
podman
安裝
yum install podman -y
podman --version
podman info
podman images
minikube & minishif
# 啟動 minikube
minikube start
minikube status
minikube stop
# 圖形的儀表板, 查詢 minikube運作的狀態
minikube dashboard
kubectl create deployment test1 --image=nginx
kubectl create deployment test2 --image=k8s.gcr.io/nginx
kubectl create deployment test4 --image=daocloud.io/library/nginx:1.12.0-alpine
檢查 k8s ps aux | grep cron