Giter Site home page Giter Site logo

gotok8s's Issues

Support 1.13.0

[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文档错误

README 文档错误

//# 测试安装 redis chart
$ helm install my-redis stable/redis

  • # 删除 mysql -> 删除redis

$ helm uninstall my-redis

Error: release my_wordpress failed: namespaces "default" is forbidden: User "system:serviceaccount:kube-system:default" cannot get namespaces in the namespace "default"

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

Shared File System example

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

拉不到coredns 1.8.0

拉不到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

upgrade

sudo kubeadm upgrade apply --config init.yml --ignore-preflight-errors=SystemVerification

Minor issues on 1.11.0

First of all, appreciate your work!

Want only to mention little minor issues I experienced setting up a master on aws china.

  1. "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

  2. 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"}

Shared File System example

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

sudo kubeadm init --config init.yml

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"

dashboard 无法获取 token

获取登陆 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.