├── README.md ├── addons ├── dashboard │ ├── MAINTAINERS.md │ ├── README.md │ ├── dashboard-controller.yaml │ └── dashboard-service.yaml ├── dns │ ├── skydns-rc.yaml │ └── skydns-svc.yaml ├── haconfd │ ├── Dockerfile │ ├── docker-entrypoint.sh │ ├── etc │ │ ├── confd │ │ │ ├── conf.d │ │ │ │ └── haproxy.toml │ │ │ ├── confd.toml │ │ │ └── templates │ │ │ │ ├── haproxy-kube-system.tmpl │ │ │ │ ├── haproxy.tmpl │ │ │ │ └── haproxy_beautiful.tmpl │ │ └── haproxy │ │ │ ├── errors │ │ │ ├── 400.http │ │ │ ├── 403.http │ │ │ ├── 408.http │ │ │ ├── 500.http │ │ │ ├── 502.http │ │ │ ├── 503.http │ │ │ └── 504.http │ │ │ └── haproxy.cfg │ └── haproxy-confd.yaml ├── heapster │ ├── grafana-service.yaml │ ├── heapster-controller-without-addon-resizer.yaml │ ├── heapster-controller.yaml │ ├── heapster-service.yaml │ ├── heapster-serviceaccount.yaml │ ├── influxdb-grafana-controler.yaml │ └── influxdb-service.yaml ├── ingress │ ├── nginx-controller-without-httpcheck.yaml │ └── nginx-controller.yaml └── prometheus │ ├── grafana.ini │ ├── prometheus-cm.yaml │ ├── prometheus-dm-use-hostpath.yaml │ ├── prometheus-dm.yaml │ ├── prometheus-pv-pvc.yaml │ ├── prometheus-svc.yaml │ └── prometheus.yml ├── base ├── agent │ ├── flannel.yaml │ ├── kube-proxy.yaml │ └── kubelet.service ├── config.yml ├── docker.service ├── haka │ ├── flannel.yaml │ ├── haproxy-keepalived.yaml │ ├── haproxy │ │ ├── Dockerfile │ │ ├── haproxy.cfg │ │ ├── haproxy.cfg.etc │ │ └── haproxy.sh │ └── keepalived │ │ ├── Dockerfile │ │ ├── entrypoint.sh │ │ ├── health.sh │ │ ├── keepalived.conf.backup1 │ │ ├── keepalived.conf.backup2 │ │ ├── keepalived.conf.master │ │ └── notify.sh ├── k8s-log.cron ├── master │ ├── etcd.yaml │ ├── flannel.yaml │ ├── kube-apiserver.yaml │ ├── kube-controller-manager.yaml │ ├── kube-scheduler.yaml │ └── kubelet.service └── tools.sh ├── doc ├── base_env.md ├── haproxy_keepalived.md ├── k8s_master_moudle.md └── kubernetes生产环境配置信息.xlsx ├── images ├── Architecture.png └── Architecture.svg ├── network ├── calico │ ├── calico-without-auth.yaml │ ├── calico.images │ ├── calico.yaml │ ├── ipPool.yaml │ ├── kube-apiserver.yaml │ ├── kubelet.service │ ├── policy.yaml │ └── profile.yaml └── flannel │ ├── flannel.yaml │ └── restart_docker.sh └── storage └── rbd ├── nginx-pvc.yaml └── rbd.yaml /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/README.md -------------------------------------------------------------------------------- /addons/dashboard/MAINTAINERS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/dashboard/MAINTAINERS.md -------------------------------------------------------------------------------- /addons/dashboard/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/dashboard/README.md -------------------------------------------------------------------------------- /addons/dashboard/dashboard-controller.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/dashboard/dashboard-controller.yaml -------------------------------------------------------------------------------- /addons/dashboard/dashboard-service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/dashboard/dashboard-service.yaml -------------------------------------------------------------------------------- /addons/dns/skydns-rc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/dns/skydns-rc.yaml -------------------------------------------------------------------------------- /addons/dns/skydns-svc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/dns/skydns-svc.yaml -------------------------------------------------------------------------------- /addons/haconfd/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/haconfd/Dockerfile -------------------------------------------------------------------------------- /addons/haconfd/docker-entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/haconfd/docker-entrypoint.sh -------------------------------------------------------------------------------- /addons/haconfd/etc/confd/conf.d/haproxy.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/haconfd/etc/confd/conf.d/haproxy.toml -------------------------------------------------------------------------------- /addons/haconfd/etc/confd/confd.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/haconfd/etc/confd/confd.toml -------------------------------------------------------------------------------- /addons/haconfd/etc/confd/templates/haproxy-kube-system.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/haconfd/etc/confd/templates/haproxy-kube-system.tmpl -------------------------------------------------------------------------------- /addons/haconfd/etc/confd/templates/haproxy.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/haconfd/etc/confd/templates/haproxy.tmpl -------------------------------------------------------------------------------- /addons/haconfd/etc/confd/templates/haproxy_beautiful.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/haconfd/etc/confd/templates/haproxy_beautiful.tmpl -------------------------------------------------------------------------------- /addons/haconfd/etc/haproxy/errors/400.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/haconfd/etc/haproxy/errors/400.http -------------------------------------------------------------------------------- /addons/haconfd/etc/haproxy/errors/403.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/haconfd/etc/haproxy/errors/403.http -------------------------------------------------------------------------------- /addons/haconfd/etc/haproxy/errors/408.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/haconfd/etc/haproxy/errors/408.http -------------------------------------------------------------------------------- /addons/haconfd/etc/haproxy/errors/500.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/haconfd/etc/haproxy/errors/500.http -------------------------------------------------------------------------------- /addons/haconfd/etc/haproxy/errors/502.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/haconfd/etc/haproxy/errors/502.http -------------------------------------------------------------------------------- /addons/haconfd/etc/haproxy/errors/503.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/haconfd/etc/haproxy/errors/503.http -------------------------------------------------------------------------------- /addons/haconfd/etc/haproxy/errors/504.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/haconfd/etc/haproxy/errors/504.http -------------------------------------------------------------------------------- /addons/haconfd/etc/haproxy/haproxy.cfg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /addons/haconfd/haproxy-confd.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/haconfd/haproxy-confd.yaml -------------------------------------------------------------------------------- /addons/heapster/grafana-service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/heapster/grafana-service.yaml -------------------------------------------------------------------------------- /addons/heapster/heapster-controller-without-addon-resizer.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/heapster/heapster-controller-without-addon-resizer.yaml -------------------------------------------------------------------------------- /addons/heapster/heapster-controller.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/heapster/heapster-controller.yaml -------------------------------------------------------------------------------- /addons/heapster/heapster-service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/heapster/heapster-service.yaml -------------------------------------------------------------------------------- /addons/heapster/heapster-serviceaccount.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/heapster/heapster-serviceaccount.yaml -------------------------------------------------------------------------------- /addons/heapster/influxdb-grafana-controler.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/heapster/influxdb-grafana-controler.yaml -------------------------------------------------------------------------------- /addons/heapster/influxdb-service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/heapster/influxdb-service.yaml -------------------------------------------------------------------------------- /addons/ingress/nginx-controller-without-httpcheck.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/ingress/nginx-controller-without-httpcheck.yaml -------------------------------------------------------------------------------- /addons/ingress/nginx-controller.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/ingress/nginx-controller.yaml -------------------------------------------------------------------------------- /addons/prometheus/grafana.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/prometheus/grafana.ini -------------------------------------------------------------------------------- /addons/prometheus/prometheus-cm.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/prometheus/prometheus-cm.yaml -------------------------------------------------------------------------------- /addons/prometheus/prometheus-dm-use-hostpath.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/prometheus/prometheus-dm-use-hostpath.yaml -------------------------------------------------------------------------------- /addons/prometheus/prometheus-dm.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/prometheus/prometheus-dm.yaml -------------------------------------------------------------------------------- /addons/prometheus/prometheus-pv-pvc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/prometheus/prometheus-pv-pvc.yaml -------------------------------------------------------------------------------- /addons/prometheus/prometheus-svc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/prometheus/prometheus-svc.yaml -------------------------------------------------------------------------------- /addons/prometheus/prometheus.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/addons/prometheus/prometheus.yml -------------------------------------------------------------------------------- /base/agent/flannel.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/base/agent/flannel.yaml -------------------------------------------------------------------------------- /base/agent/kube-proxy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/base/agent/kube-proxy.yaml -------------------------------------------------------------------------------- /base/agent/kubelet.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/base/agent/kubelet.service -------------------------------------------------------------------------------- /base/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/base/config.yml -------------------------------------------------------------------------------- /base/docker.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/base/docker.service -------------------------------------------------------------------------------- /base/haka/flannel.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/base/haka/flannel.yaml -------------------------------------------------------------------------------- /base/haka/haproxy-keepalived.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/base/haka/haproxy-keepalived.yaml -------------------------------------------------------------------------------- /base/haka/haproxy/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/base/haka/haproxy/Dockerfile -------------------------------------------------------------------------------- /base/haka/haproxy/haproxy.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/base/haka/haproxy/haproxy.cfg -------------------------------------------------------------------------------- /base/haka/haproxy/haproxy.cfg.etc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/base/haka/haproxy/haproxy.cfg.etc -------------------------------------------------------------------------------- /base/haka/haproxy/haproxy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/base/haka/haproxy/haproxy.sh -------------------------------------------------------------------------------- /base/haka/keepalived/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/base/haka/keepalived/Dockerfile -------------------------------------------------------------------------------- /base/haka/keepalived/entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/base/haka/keepalived/entrypoint.sh -------------------------------------------------------------------------------- /base/haka/keepalived/health.sh: -------------------------------------------------------------------------------- 1 | curl http://127.0.0.1:10080/status > /dev/null 2 | -------------------------------------------------------------------------------- /base/haka/keepalived/keepalived.conf.backup1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/base/haka/keepalived/keepalived.conf.backup1 -------------------------------------------------------------------------------- /base/haka/keepalived/keepalived.conf.backup2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/base/haka/keepalived/keepalived.conf.backup2 -------------------------------------------------------------------------------- /base/haka/keepalived/keepalived.conf.master: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/base/haka/keepalived/keepalived.conf.master -------------------------------------------------------------------------------- /base/haka/keepalived/notify.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/base/haka/keepalived/notify.sh -------------------------------------------------------------------------------- /base/k8s-log.cron: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/base/k8s-log.cron -------------------------------------------------------------------------------- /base/master/etcd.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/base/master/etcd.yaml -------------------------------------------------------------------------------- /base/master/flannel.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/base/master/flannel.yaml -------------------------------------------------------------------------------- /base/master/kube-apiserver.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/base/master/kube-apiserver.yaml -------------------------------------------------------------------------------- /base/master/kube-controller-manager.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/base/master/kube-controller-manager.yaml -------------------------------------------------------------------------------- /base/master/kube-scheduler.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/base/master/kube-scheduler.yaml -------------------------------------------------------------------------------- /base/master/kubelet.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/base/master/kubelet.service -------------------------------------------------------------------------------- /base/tools.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/base/tools.sh -------------------------------------------------------------------------------- /doc/base_env.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/doc/base_env.md -------------------------------------------------------------------------------- /doc/haproxy_keepalived.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/doc/haproxy_keepalived.md -------------------------------------------------------------------------------- /doc/k8s_master_moudle.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/doc/k8s_master_moudle.md -------------------------------------------------------------------------------- /doc/kubernetes生产环境配置信息.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/doc/kubernetes生产环境配置信息.xlsx -------------------------------------------------------------------------------- /images/Architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/images/Architecture.png -------------------------------------------------------------------------------- /images/Architecture.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/images/Architecture.svg -------------------------------------------------------------------------------- /network/calico/calico-without-auth.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/network/calico/calico-without-auth.yaml -------------------------------------------------------------------------------- /network/calico/calico.images: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/network/calico/calico.images -------------------------------------------------------------------------------- /network/calico/calico.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/network/calico/calico.yaml -------------------------------------------------------------------------------- /network/calico/ipPool.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ipPool 3 | metadata: 4 | cidr: 192.168.22.0/24 5 | -------------------------------------------------------------------------------- /network/calico/kube-apiserver.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/network/calico/kube-apiserver.yaml -------------------------------------------------------------------------------- /network/calico/kubelet.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/network/calico/kubelet.service -------------------------------------------------------------------------------- /network/calico/policy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/network/calico/policy.yaml -------------------------------------------------------------------------------- /network/calico/profile.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/network/calico/profile.yaml -------------------------------------------------------------------------------- /network/flannel/flannel.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/network/flannel/flannel.yaml -------------------------------------------------------------------------------- /network/flannel/restart_docker.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/network/flannel/restart_docker.sh -------------------------------------------------------------------------------- /storage/rbd/nginx-pvc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/storage/rbd/nginx-pvc.yaml -------------------------------------------------------------------------------- /storage/rbd/rbd.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwisen/deployk8s/HEAD/storage/rbd/rbd.yaml --------------------------------------------------------------------------------