maguowei / gotok8s Goto Github PK
View Code? Open in Web Editor NEWGoto Kubernetes
License: MIT License
Goto Kubernetes
License: MIT License
docker run -it --rm --privileged -v /lib/modules:/lib/modules ubuntu bash
my_secret=AQDdQnhbVsZcOBAAiuXZ6tBSPciqvBwTHpPGXQ==
mon_endpoints=10.108.117.232:6790,10.103.83.90:6790,10.110.210.68:6790
mount -t ceph -o mds_namespace=myfs,name=admin,secret=$my_secret $mon_endpoints:/ /cephfs
docker run -it --rm --privileged -v /lib/modules:/lib/modules ubuntu bash
my_secret=AQDdQnhbVsZcOBAAiuXZ6tBSPciqvBwTHpPGXQ==
mon_endpoints=10.108.117.232:6790,10.103.83.90:6790,10.110.210.68:6790
mount -t ceph -o mds_namespace=myfs,name=admin,secret=$my_secret $mon_endpoints:/ /cephfs
https://github.com/maguowei/gotok8s/actions
目前是每6小时同步一次最新的镜像,这种方式会频繁重复push相同的镜像。需要改为最新的发布版本,并与当前版本做比较,避免重复的push.
想问一下楼主,mac安装helm是通过brew或者下载tar文件,但是没有看到tiller的下载安装呢?
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/master/aio/deploy/recommended.yaml
The connection to the server raw.githubusercontent.com was refused - did you specify the right host or port?
unknown configuration schema.GroupVersionKind{Group:"kubeadm.k8s.io", Version:"v1beta2", Kind:"InitConfiguration"} for scheme definitions in "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/scheme/scheme.go:31" and "k8s.io/kubernetes/cmd/kubeadm/app/componentconfigs/scheme.go:28"
您好,每个node是多网卡的话,需要在kubelet启动参数中指定--node-ip,请教该如何操作
error starting userland proxy: listen tcp 0.0.0.0:2379: bind: address already in use.
sudo kubeadm upgrade apply --config init.yml --ignore-preflight-errors=SystemVerification
安装完dashboard以后,想继续安装rook, 根据rook.md的指引,执行kubectl create -f https://raw.githubusercontent.com/rook/rook/master/cluster/examples/kubernetes/ceph/operator.yaml
提示 namespaces rook-ceph not found
First of all, appreciate your work!
Want only to mention little minor issues I experienced setting up a master on aws china.
"kubeadm config images list" requires the attribute "--kubernetes-version" e.g.
kubeadm config images list --kubernetes-version=v1.11.0
otherwise it tries to go to https://dl.k8s.io/release/stable-1.11.txt what gives you a timeout
kubeadm config images list --kubernetes-version=v1.11.0
lists "k8s.gcr.io/pause:3.1"
but the images file includes "k8s.gcr.io/pause-amd64"
that makes "kubeadm init" breaking with
[preflight] Some fatal errors occurred:
[ERROR ImagePull]: failed to pull image [k8s.gcr.io/pause:3.1]: exit status 1
pulling pause:3.1 from aliyun mirror or simply tagging pause-amd64 to pause solves second issue
kubeadm version
kubeadm version: &version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.1", GitCommit:"b1b29978270dc22fecc592ac55d903350454310a", GitTreeState:"clean", BuildDate:"2018-07-17T18:50:16Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"}
https://docs.docker.com/config/daemon/systemd/
[Service]
Environment="HTTP_PROXY=http://192.168.31.52:6152" "NO_PROXY=localhost,127.0.0.1,registry.docker-cn.com"
export https_proxy=http://192.168.31.52:6152;kubeadm config images pull
[ERROR KubeletVersion]: the kubelet version is higher than the control plane version. This is not a supported version skew and may lead to a malfunctional cluster. Kubelet version: "1.13.0" Control plane version: "1.12.2"
README 文档错误
//# 测试安装 redis chart
$ helm install my-redis stable/redis
$ helm uninstall my-redis
求标注
拉不到coredns 1.8.0咋整。。
failed to pull image "gotok8s/coredns/coredns:v1.8.0": output: Error response from daemon: pull access denied for gotok8s/coredns/coredns
获取登陆 token
$ kubectl -n kubernetes-dashboard describe secret $(kubectl -n kubernetes-dashboard get secret | grep kubernetes-dashboard-admin | awk '{print $1}')
只有以下这个:
Name: kubernetes-dashboard-certs
Namespace: kubernetes-dashboard
Labels: k8s-app=kubernetes-dashboard
Annotations: <none>
Type: Opaque
Data
====
Name: kubernetes-dashboard-csrf
Namespace: kubernetes-dashboard
Labels: k8s-app=kubernetes-dashboard
Annotations: <none>
Type: Opaque
Data
====
csrf: 256 bytes
Name: kubernetes-dashboard-key-holder
Namespace: kubernetes-dashboard
Labels: <none>
Annotations: <none>
Type: Opaque
Data
====
priv: 1675 bytes
pub: 459 bytes
kubectl create serviceaccount --namespace kube-system tiller
serviceaccount "tiller" created
kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
clusterrolebinding "tiller-cluster-rule" created
kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}'
deployment "tiller-deploy" patched
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.