K8S

kubectl

2019-03-06

操作基本命令: 通过yaml文件创建: kubectl create -f xxx.yaml (不建议使用,无法更新,必须先delete) kubectl apply -f xxx.yaml (创建+更新,可以重复使用) 通过yaml文件删除: kubectl delete -f xxx.yaml 查看kube-system namespace下面的pod/svc/deployment 等等( ...

K8S

rook-ceph

2019-03-06

git clone https://github.com/rook/rook.git cd rook/cluster/examples/kubernetes/ceph/ kubectl apply -f operator.yaml kubectl apply -f cluster.yaml kubectl apply -f dashboard-external-http.yaml kubectl ...

K8S

traefik

2019-03-06

https://github.com/starsliao/kubernetes/tree/master/traefik kubectl label nodes sl-node2 zone=traefik # 官网examples kubectl apply -f https://raw.githubusercontent.com/containous/traefik/master/exampl ...

K8S

Kubernetes

2019-03-06

Kubernetes https://github.com/wise2c-devops/breeze registry: Harbor /var/lib/wise2c/harbor/harbor storage: rook-ceph Package Manager: Helm ingress: traefik monitoring: prometheus logging: EF ...

K8S

breeze

2019-03-06

# 部署机 timedatectl set-timezone Asia/Shanghai setenforce 0 sed --follow-symlinks -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config firewall-cmd --set-default-zone=trusted firewall-cmd --c ...

K8S

minio

2019-03-06

helm install stable/minio --namespace=minio --name=minio --set "persistence.storageClass=rook-ceph-block" --debug cat minio-ingress.yaml apiVersion: extensions/v1beta1 kind: Ingress metadata: name: ...