How to deploy WebSocket and gRPC services in Knight?
Author: Alibaba cloud container platform engineer, Dongdao
**Guide reading: * * although it is said that Knative supports WebSocket and gRPC by default, it will be found in use that sometimes you want to deploy your own WebSocket or gRPC to Knative, but there are still many problems. Although the final investigation found that most of them ar ...
Posted by Thomisback on Thu, 17 Oct 2019 23:53:21 -0700
Monitoring of Weave Scope in k8s
Monitoring cluster with Weave Scope
Creating a kubernetes cluster and deploying containerized applications is just the first step. Once the cluster is running, we need to ensure that all necessary components are in place and perform their duties together, and that there are enough resources to meet the application requirements. Kubernetes is a ...
Posted by dewbie on Thu, 17 Oct 2019 15:52:37 -0700
014. Use docker compose to install the software
Create the docker compose basic directory
mkdir -p /usr/local/docker
1. Install mysql
Create mysql directory in / usr/local/docker /
mkdir -p /usr/local/docker/mysql
Write the docker-compose.yml file in / usr/local/docker/mysql directory
Note: the vi editor can paste the content to the file with format by inputting set paste in command m ...
Posted by greengo on Wed, 16 Oct 2019 08:51:43 -0700
Kubeadm Deploys High Availability Kubernetes Cluster
Kubeadm Deploys High Availability Kubernetes Cluster
Directory [-]
Introduction to kuberadm
1. Kuberadm function
2. Kuberadm function
3. Functional version
II. Pre-preparation
1. Description of virtual machine allocation
2. Occupation of each node port
3. Basic environment settings
Installation of Keepalived
1. Install preserved from yum.
2. C ...
Posted by samirk on Tue, 15 Oct 2019 05:25:19 -0700
k8s data storage
How Kubernetes manages storage resources.
First we will learn about Volume and how Kubernetes provides storage for containers in clusters through Volume; then we will practice several commonly used Volume types and understand their respective application scenarios; finally, we will discuss how Kubernetes separates cluster administrators from c ...
Posted by mbeals on Mon, 14 Oct 2019 06:14:07 -0700
[Kubernetes Series] Part 6 Introduction to Ingress controller - nginx components
1. overview
In the last article, we introduced how to install and deploy traefik components through helm. Besides traefik, we also mentioned that the commonly used ingress controller s include Nginx, HAProxy, Kong and so on. In this article, we introduced how to install and deploy Nginx-ingress. Only after accumulating the experience of using d ...
Posted by nocontrol on Mon, 14 Oct 2019 05:33:36 -0700
Deploying static websites (nginx) using docker
Article directory
Create an interactive container that maps port 80
Install nginx
Create static pages
Modify nginx configuration file
Run nginx
Verify Web Site Access
Create an interactive container that maps port 80
[root@localhost ~]# docker run -it -p 80 --name web centos /bin/bash
Instal ...
Posted by richardw on Sun, 13 Oct 2019 14:37:29 -0700
Hand-in-hand teaching you to write a generic helm chart
[TOC]
1. Template introduction
First, put the template link:
https://github.com/ygqygq2/charts/tree/master/mod-chart
This chart can be used as a general template for POD single image. All you need to do is replace the chart name with sed and modify README.md and NOTES.txt. Below, I will illustrate by copying this chart into an example-chart.
[ ...
Posted by tecmeister on Sun, 13 Oct 2019 12:54:12 -0700
Container Signal Use
Off-line installation packages for various versions of kubernetes
Container Signal Use
Our programs running in containers usually want to do some cleaning operations before the container exits. The more common way is to listen to a signal and delay closing the container.
docker provides such functionality:
╰─➤ docker stop --help
Usage: doc ...
Posted by jstinehelfer on Sat, 12 Oct 2019 14:41:40 -0700
Hadoop environment deployment document
I. Deployment environment
Local IP: 192.168.0.222
System: CentOS Linux release 7.6.1810 (Core)
Kernel: 3.10.0-957.el7.x86_64
II. Installation of docker-ce
yum install -y yum-utils device-mapper-persistent-data lvm2 && yum-config-manager --add-repo https://download.docker.com/linux/centos/doc ...
Posted by wannasub on Fri, 11 Oct 2019 12:32:49 -0700