Kubernetes Installation and Deployment Master
Links to the original text: https://blog.csdn.net/jiangbenchu/article/details/90769198
1. Modify the local/etc/hosts file
# Add (*) to / etc/hosts file
cat <<EOF >> /etc/hosts
172.26.48.4 k8s-master
172.26.48.5 k8s-node1
17 ...
Added by Kathy on Sun, 08 Sep 2019 15:35:59 +0300
Kubernetes Identity Authentication and Authorization Operations: Service Account for Access Control
This is the last article in this series. We learned about the basic concepts of access control and the specific operations of authentication and authorization. In this article, we will learn more about service account in access control.
Kubernetes has the concepts of user and service account, which can be used to access resources. Users are ...
Added by CaptainChainsaw on Fri, 06 Sep 2019 18:45:30 +0300
kunernets uses helm to install tiller trampling pit
helm installation reference:
https://www.kubernetes.org.cn/4619.html
Helm is composed of client-side command line tool and server-side tiller. Helm installation is very simple. Download the helm command line tool under / usr/local/bin of master node node 1. Download version 2.9.1 here:
wget https://storage.googleapis.com/kubernetes-helm/helm ...
Added by Phate on Fri, 06 Sep 2019 08:22:10 +0300
Service discovery and polling for spring-cloud-kubernetes (with fuses)
This is the fourth article in the series of spring-cloud-kubernetes. The main content is to deploy two applications on kubernetes: Web-Service and Acount-Service. Web-Service calls the http service provided by Account-Service through the registration discovery capabilities provided by spring-cloud-kubernetes.
List of Series Articles
Official d ...
Added by conquest on Wed, 04 Sep 2019 04:45:51 +0300
RKE production environment kubernetes cluster deployment
Cluster Introduction
master Nodes:
10.20.10.103 name=cnvs-kubm-101-103 role: [controlplane,worker,etcd] user: k8suser
10.20.10.104 name=cnvs-kubm-101-104 role: [controlplane,worker,etcd] user: k8suser
10.20.10.105 name=cnvs-kubm-101-105 role: [controlplane,worker,etcd] user: k8suser
//Cluster Management Node: 10.20.10.103
vip:10.20.10.253 ...
Added by Amitk on Sat, 31 Aug 2019 18:19:42 +0300
Using prometheus to monitor traefik, redis, k8s cluster nodes and kubelet
1. Data indicators of Prometheus are obtained through an open HTTP(S) data interface. We do not need to install monitoring agent s separately. We only need to expose a metrics interface. Prometheus will pull data regularly. For some ordinary HTTP services, we can reuse this service directly. Add A / metrics interface to expose Prometheus2. Som ...
Added by eashton123 on Mon, 26 Aug 2019 18:18:36 +0300
k8s Practice: Pod Resource Management
Environmental description:
host name
Operating System Version
ip
docker version
kubelet version
To configure
Remarks
master
Centos 7.6.1810
172.27.9.131
Docker 18.09.6
V1.14.2
2C2G
Remarks
node01
Centos 7.6.1810
172.27.9.135
Docker 18.09.6
V1.14.2
2C2G
Remarks
node02
Centos 7.6.1810
172.27.9.136
Docker 18.09.6
V1.14.2
2C2G
Remarks
...
Added by red-x on Thu, 22 Aug 2019 12:13:07 +0300
ingress in k8s cluster--based on traefik
k8s supports two load balancing mechanisms for publishing applications within pod s1. One is a service for four-tier TCP load balancingservice mainly implements communication within the cluster, as well as internal and external communication based on four layers (such as ports)2. Another is ingress, which enables users to achieve seven-tier HT ...
Added by nodi on Wed, 21 Aug 2019 20:12:56 +0300
k8s deployment ingress nginx
brief introduction
Just take notes to prevent forgetting. What we want to achieve today is the access method above the article pictures.
k8s installation ingress nginx
First deploy the following yaml file
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/mandatory.yaml
Most of the tutorials are do ...
Added by cybercrypt13 on Wed, 21 Aug 2019 05:38:01 +0300
Hand in hand to teach you how to write Kubernetes'golang service
Links to the original text: https://www.qikqiak.com/post/write-kubernets-golang-service-step-by-step/
We've talked a lot about the operation of kubernetes itself, but we haven't talked about how to write a complete kubernetes application ...
Added by Gamerz on Mon, 12 Aug 2019 07:08:00 +0300