K8s Resource Pod (first article)

Resource configuration format: apiVersion: The version used to define an api group. Kind: Used to define resource types. Metadata: Used to define metadata, what it contains, the name of a resource, its tags, the namespace to which it belongs, and so on. sepc: Used to define the expected state of a resource. status: The actual state of the res ...

Added by cocell on Fri, 13 Dec 2019 05:51:57 +0200

Kube admin: kubernetes learning materials, common commands.

The original connection of this paper is:https://blog.csdn.net/freewebsys/article/details/83618119 The blogger's address is: http://blog.csdn.net/freewebsys 1. About kube video The first section is shared by foreigners. I'm too lazy to listen to English. Look straight from the second section. Chinese is still comfortable to l ...

Added by _off_axis_ on Thu, 12 Dec 2019 22:19:10 +0200

Kubernetes deployment: Flannel network deployment

Flannel needs to be deployed in all the master and node s1. Generate certificate for Flannel [root@node-01 ssl]# vim flanneld-csr.json { "CN": "flanneld", "hosts": [], "key": { "algo": "rsa", "size": 2048 }, "names": [ { "C": "CN", "ST": "BeiJing", "L": "BeiJing", "O": "k8s", "OU": "System" ...

Added by Trek15 on Tue, 10 Dec 2019 09:45:41 +0200

kubernetes command summary Set

kubernetes command summary Set Turn off virtual memory swapoff -a vim /etc/fstabl #/dev/mapper/centos-swap swap View docker environment variables systemctl show --property=Environment docker Set agent cancel agent export http_proxy="http://127.0.0.1:8123/" unset http_proxy View token kubeadm token list Get token command in SA kubectl ...

Added by bobc on Sat, 07 Dec 2019 13:28:49 +0200

How to use NAS persistent volume dynamically in Kubernetes cluster

1. introduction: This paper introduces a scheme of dynamically generating NAS storage volume: on an existing file system, a directory is automatically generated, which is defined as the target storage volume; Image address: registry.cn-hangzhou.aliyuncs.com/acs/alicloud-nas-controller:v1.11.5.4-433631d-aliyun Default build resource:The name of ...

Added by Bullet on Thu, 05 Dec 2019 23:38:10 +0200

Kubernetes deployment: Node deployment

Nodes only need to install kubelet service, and all node s need to install Kube proxy Deploy kubelet 1. Binary package preparationCopy the package from to all node s. [root@node-01 ~]# cd /usr/local/src/kubernetes/server/bin/ [root@node-01 bin]# for n in `seq 204 206`;do scp kubelet 10.31.90.$n:/data/kubernetes/bin/ ;done [root@node-01 bin]# f ...

Added by gyoung on Wed, 04 Dec 2019 16:42:47 +0200

Problems encountered in deployment of kubernetes 1.13.3 heapster

Background: Recently, I saw the k8s tutorial of Marco. In the chapter of container resource requirements, resource limitations and headstar, the kubectl top and grafana figures in the tutorial were not shown at last. Heapster will be discarded in later versions, so there is no need to struggle. I'm just curious. Next, I will talk about the pro ...

Added by ksimpkins on Wed, 04 Dec 2019 00:50:07 +0200

Learning notes of kubernetes authoritative guide -- a small example of mysql

mysql small example Create a mysql-rc.yaml file apiVersion: v1 kind: ReplicationController # Replica controller RC metadata: name: mysql # Name of RC, globally unique spec: replicas: 1 # Expected number of copies selector: app: mysql # Pod that matches the target has this label template: # Create a copy (instance) of Pod a ...

Added by |Adam| on Fri, 29 Nov 2019 16:27:09 +0200

Easily run Argo Workflow in a Serverless Kubernetes cluster

Guide reading Argo is an open-source workflow tool based on kubernetes, which realizes the control of workflow and the running of tasks. At present, Alibaba cloud container service ACK cluster already supports the deployment and scheduling of workflow. Here we introduce that if Argo is used in ASK(Serverless Kubernetes) cluster, you can run wo ...

Added by kevbev16 on Mon, 18 Nov 2019 06:51:42 +0200

012.Kubernetes Binary Deployment worker node Flannel

1. Deploy flannel 1.1 Install flannel kubernetes requires that nodes in the cluster, including master nodes, be interconnected through the Pod segment.flannel uses vxlan technology to create an inter-operable od network for each node, using UDP 8472 as the port. The first time flanneld starts, it gets the configured PD segment information ...

Added by washbucket on Sun, 17 Nov 2019 23:23:28 +0200