In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Environment:
Operating system: win10 on Ubuntu 18.04.3 LTS (GNU/Linux 4.4.0-18362-Microsoft x86room64)
GO version of go version go1.12.9 linux/amd64
GCC version gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
Make version Make 4.1
Deployment server: etcd 192.168.30.31 kubernetes 192.168.30.32
Deployment environment: centos 7.6
Service deployment directory: / apps/ service
K8S network segment 10.66.0.0Mab 16
Docker pod network segment 10.67.0.0 Universe 16
Using kube-router to provide network services
Deploy cd / usr/local/srcwget https://dl.google.com/go/go1.12.9.linux-amd64.tar.gztar-xvf go1.12.9.linux-amd64.tar.gzmv go.. / vi / etc/profileexport GOPATH=/mnt/e/work/goexport GOBIN=/mnt/e/work/go/binPATH=$PATH:/usr/local/go/bin:$HOME/bin:$GOBINexport PATHsource / etc/profilego version root@Qist:~# go versiongo version go1.12.9 linux/amd64 in go environment Build go working directory BIN directory mkdir-p / mnt/e/work/go/ {bin Src Pkg} install and compile kubernetes 1.15.3 depends on apt-y install make gcc to compile kubernetes 1.15.3wget https://github.com/kubernetes/kubernetes/archive/v1.15.3.tar.gztar-xvf v1.15.3.tar.gzcd kubernetes-1.15.3/makecd. / _ output/local/bin/linux/amd64mkdir-p / mnt/e/work/k8s/bincp-pdr kube* / mnt/e/work/k8s/bin/ compilation certificate generation tool go Get github.com/cloudflare/cfssl/cmd/cfsslgo get github.com/cloudflare/cfssl/cmd/cfssljson deployment etcd#etcd using binary deployment compilation dependency will be used outside the wall of the east-west environment setting is more troublesome etcd node server operation wget https://github.com/etcd-io/etcd/releases/download/v3.4.0/etcd-v3.4.0-linux-amd64.tar.gzmkdir-p / apps/etcd/ {bin Conf,ssl Data} # data store directory mkdir-p / apps/etcd/data/default.etcd# create etcd user useradd etcd- s / sbin/nologin-M # extract the etcd tar-xvf etcd-v3.4.0-linux-amd64.tar.gz # cp executable to the working directory cd etcd-v3.4.0-linux-amd64/ cp-pdr etcd etcdctl / apps/etcd/bin/ # etcd certificate operate mkdir-p / apps/work/k8s/cfssl/ & &\ cat in win on Ubuntu
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.