[ERROR Swap]: running with swap on is not supported. Please disable swap
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
swapoff -a && sed -i '/swap/d' /etc/fstab
[ERROR Swap]: running with swap on is not supported. Please disable swap
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
swapoff -a && sed -i '/swap/d' /etc/fstab
KUBELET_POD_INFRA_CONTAINER="--pod-infra-containerimage=registry.access.redhat.com/rhel7/pod-infrastructure:latest"
in /etc/kubernetes/kubelet
이렇게 하던가 아니면 해당 이미지를 pull로 받아서 각 node에 docker load < 해주면 된다
[root@kiwitest01 kubernetes]# kubectl apply -f weave-daemonset.yaml
serviceaccount "weave-net" configured
The DaemonSet "weave-net" is invalid:
* spec.template.spec.containers[0].securityContext.privileged: Forbidden: disallowed by policy
* spec.template.spec.containers[1].securityContext.privileged: Forbidden: disallowed by policy
MASTER
/etc/kubernetes/config
KUBE_ALLOW_PRIV="--allow-privileged=false" 해당 부분을 true로 바꾼다
데몬 재시작
for SERVICES in etcd kube-apiserver kube-controller-manager kube-scheduler kube-proxy docker flanneld; do
systemctl restart $SERVICES;
done
SLAVE
/etc/kubernetes/config
KUBE_ALLOW_PRIV="--allow-privileged=false" 해당 부분을 true로 바꾼다
for SERVICES in kube-proxy kubelet flanneld docker; do
systemctl restart $SERVICES;
done
[root@kiwitest01 run]# systemctl start docker
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
[root@kiwitest01 run]# systemctl status docker
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
Drop-In: /usr/lib/systemd/system/docker.service.d
└─flannel.conf
Active: failed (Result: exit-code) since Fri 2018-05-25 12:32:54 KST; 7s ago
Docs: http://docs.docker.com
Process: 9813 ExecStart=/usr/bin/dockerd-current --add-runtime docker-runc=/usr/libexec/docker/docker-runc-current --default-runtime=docker-runc --authorization-plugin=rhel-push-plugin --exec-opt native.cgroupdriver=systemd --userland-proxy-path=/usr/libexec/docker/docker-proxy-current $OPTIONS $DOCKER_STORAGE_OPTIONS $DOCKER_NETWORK_OPTIONS $ADD_REGISTRY $BLOCK_REGISTRY $INSECURE_REGISTRY $REGISTRIES (code=exited, status=1/FAILURE)
Main PID: 9813 (code=exited, status=1/FAILURE)
Memory: 8.0K
CGroup: /system.slice/docker.service
docker: Error response from daemon: Unknown runtime specified nvidia.
sudo pkill -SIGHUP dockerd
sudo docker run --privileged --runtime=nvidia -p 8080:8080 -p 8088:8088 -p 9191:9191 -p 9292:9292 -v /home/dkadmin/gpudb/persist:/opt/gpudb/persist kinetica/kinetica-cuda91:latest
[KUBERNETES]securityContext.privileged: Forbidden: disallowed by policy (0) | 2018.05.31 |
---|---|
docker 데몬 시작시 에러 (code=exited, status=1/FAILURE) (0) | 2018.05.25 |
minikube dashboard 이미지 미 실행시 (방화벽내) (0) | 2018.05.15 |
kubectl create -f yaml시 에러 (0) | 2018.05.15 |
yum install - Cannot allocate memory (0) | 2018.05.03 |
kubectl get pods --namespace=kube-system
kubectl describe pods --namespace=kube-system
#kubectl proxy
docker 데몬 시작시 에러 (code=exited, status=1/FAILURE) (0) | 2018.05.25 |
---|---|
docker: Error response from daemon: Unknown runtime specified nvidia. (0) | 2018.05.24 |
kubectl create -f yaml시 에러 (0) | 2018.05.15 |
yum install - Cannot allocate memory (0) | 2018.05.03 |
Queue report unavailable - mail system is down (0) | 2018.04.05 |
$kubectl create -f mysql-deplyoment.yaml
에러가 서버에 연결할수 없다는 등에 에러가 나온다면
현재 설치된 minikube start --kubernetes-version="v1.6.4" --insecure-registry="dockertest2.io:12000" 요렇게
1.6.4인데 kubectl 이 아마도 1.10일것이다.. 버젼에 맞게 다운받아야 한다
$ curl -O https://storage.googleapis.com/kubernetes-release/release/v1.6.4/bin/linux/amd64/kubectl
[root@hadoopm KUBE]# kubectl create -f mysql-deployment.yaml
service "wordpress-mysql" created
Error from server (BadRequest): error when creating "mysql-deployment.yaml": Deployment in version "v1beta2" cannot be handled as a Deployment: no kind "Deployment" is registered for version "apps/v1beta2"
docker 데몬 시작시 에러 (code=exited, status=1/FAILURE) (0) | 2018.05.25 |
---|---|
docker: Error response from daemon: Unknown runtime specified nvidia. (0) | 2018.05.24 |
minikube dashboard 이미지 미 실행시 (방화벽내) (0) | 2018.05.15 |
yum install - Cannot allocate memory (0) | 2018.05.03 |
Queue report unavailable - mail system is down (0) | 2018.04.05 |
skipping unreadable repository '/etc/yum.repos.d/CentOS-Vault.repo'
Skipping unreadable repository '/etc/yum.repos.d/CentOS-fasttrack.repo'
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package openssl.x86_64 1:1.0.2k-8.el7 will be installed
--> Processing Dependency: make for package: 1:openssl-1.0.2k-8.el7.x86_64
--> Running transaction check
---> Package make.x86_64 1:3.82-23.el7 will be installed
[Errno 12] Cannot allocate memory: '//var/lib/yum/rpmdb-indexes/version.tmp'
# yum clean all
# rm -f /var/lib/rpm/__db*
# rpm --rebuilddb
docker 데몬 시작시 에러 (code=exited, status=1/FAILURE) (0) | 2018.05.25 |
---|---|
docker: Error response from daemon: Unknown runtime specified nvidia. (0) | 2018.05.24 |
minikube dashboard 이미지 미 실행시 (방화벽내) (0) | 2018.05.15 |
kubectl create -f yaml시 에러 (0) | 2018.05.15 |
Queue report unavailable - mail system is down (0) | 2018.04.05 |
The postfix command controls the operation of the Postfix mail system: start or stop the master daemon, do a health check, and other maintenance.
Type the following command:# postfix stop
Type the following command:# postfix start
Type the following command:# postfix stop && postfix start
To re-read configuration files, enter:# postfix reload
The following distribution specific commands can be used too.
Type the following commands:$ sudo /etc/init.d/postfix start
$ sudo /etc/init.d/postfix stop
$ sudo /etc/init.d/postfix restart
OR$ sudo service postfix start
$ sudo service postfix stop
$ sudo service postfix restart
# /sbin/service postfix start
# /sbin/service postfix stop
# /sbin/service postfix restart
docker 데몬 시작시 에러 (code=exited, status=1/FAILURE) (0) | 2018.05.25 |
---|---|
docker: Error response from daemon: Unknown runtime specified nvidia. (0) | 2018.05.24 |
minikube dashboard 이미지 미 실행시 (방화벽내) (0) | 2018.05.15 |
kubectl create -f yaml시 에러 (0) | 2018.05.15 |
yum install - Cannot allocate memory (0) | 2018.05.03 |