k8s相关】的更多相关文章

kompose convert -f docker-compose-pro.yml k8s数据卷挂载: https://blog.csdn.net/wlhdo71920145/article/details/47258367/…
k8s端口 kube-api 6443 kube-controller-manager 10252 kube-scheduler 10251 kubelet 10250 kube-proxy 10256 etcd  2379与client端交互   2380与etcd内部交互 service yaml文件里面的ports nodePort:30003   物理主机的端口,默认范围30000-32767,暴露给集群外面访问 port:80   service的端口 targetPort:3000 …
kube-dns组件架构区别看这个就够了 http://cizixs.com/2017/04/11/kubernetes-intro-kube-dns kubed-dns设置细节看这个就够了 http://blog.fleeto.us/translation/configuring-private-dns-zones-and-upstream-nameservers-kubernetes busybox你的忠实实验伴侣 命令看这里: https://kubernetes.io/docs/conc…
参考资料: 基于Apache Mesos 构建高可靠,高可用的Jenkins CI:http://blog.csdn.net/ebay/article/details/43529401 Docker Plugin:https://wiki.jenkins-ci.org/display/JENKINS/Docker+Plugin%20?cm_mc_uid=94135605374514466031253&cm_mc_sid_50200000=1458197450 Jenkins与Docker相关的P…
查看node信息 kubectl describe node k8s-node- 查看dashboard token kubectl describe pod kubernetes-dashboard-admin-token-hz9bm -n kube-system 查看pod相信信息 kubectl get pods -o wide -n kube-system 查看pods namepaces kubectl get pods --all-namespaces 查看容器信息 kubectl…
1)软件清单操作系统:CentOS7Kubernetes版本:v1.14.2flannel:v0.10.0ectd3:v3.3.11Docker版本:v18.09.0-ceDocker-compose:v1.24.0Helm:v2.14.3mkdir -p /app/k8s2)下载wget https://storage.googleapis.com/kubernetes-release/release/v1.14.2/kubernetes-server-linux-amd64.tar.gzwg…
参考资料: How to get started, and achieve tasks, using Kubernetes:http://kubernetes.io/docs/getting-started-guides/ubuntu/ How to get started, and achieve tasks, using Kubernetes:http://kubernetes.io/docs/user-guide/connecting-applications/ User FAQ:http…
卸载kubernetes-dashboard kubectl get secret,sa,role,rolebinding,services,deployments --namespace=kube-system | grep dashboard sudo kubectl delete deployment kubernetes-dashboard --namespace=kube-system sudo kubectl delete service kubernetes-dashboard -…
一.看系统日志cat /var/log/messages 二.用 kubectl 查看日志 # 注意:使用Kubelet describe 查看日志,一定要带上 命名空间,否则会报如下错误[root@node2 ~]# kubectl describe pod coredns-6c65fc5cbb-…
服务器IP角色分布 192.168.5.2 etcd server 192.168.5.2 kubernetes master 192.168.5.3 kubernetes node 192.168.5.4 kubernetes node 确认环境 centos7 确认liunx内核版本 uname -a yum update systemctl start firewalld.service#启动firewall systemctl stop firewalld.service#停止firew…