java+vue+websocket can obtain and display kubernetes pod logs in real time

scene Now there is such a scenario: the user will create task running algorithm training on the platform. After starting the task, the background will create a container running training task through kubernetes. You need to display the training task log in real time on the page. Because logs are constantly generated, and the latest logs need t ...

Added by kid85 on Wed, 08 Dec 2021 09:18:17 +0200

kubernetes(k8s) Note Ingress Envoy

Preface:As a portal component of the Internet system, Traffic Entry Agent has many choices, ranging from the old proxy HAProxy, Nginx, to micro-service API gateways Kong, Zuul, to the container Ingress specification and implementation. Function, performance, scalability and application scenarios vary among different choices. Envoy, a CNCF gradu ...

Added by cactuscake on Wed, 08 Dec 2021 06:39:26 +0200

Building kubernetes cluster in cloud networking environment

Background:Network environment reference: Cloud networking experience Two vpc networks in Shanghai and Beijing. The servers are distributed as follows:Let's talk about why we use TencentOS Server 3.1 (TK4) system. It's not because CentOS 8 doesn't provide long-term maintenance.... by the way, experience Tencent cloud's open source Tencent OS. F ...

Added by mrodrigues on Fri, 03 Dec 2021 13:27:05 +0200

Kubebuild and code generator

overview kubebuilder and k8s.io/code-generator Similarly, it is a code generation tool used to generate code for your CRD kubernetes-style API realization. At present, Kubebuilder generates CRD and manifest yaml, and then code generator generates informers, listers and clientsets. Note that the methods described in this article can no long ...

Added by asgerhallas on Fri, 03 Dec 2021 01:04:17 +0200

kubernetes(k8s) note authentication, authorization and admission control authentication ServiceAccount

summary:1. kubernetes API access controlOfficial documents:https://kubernetes.io/zh/docs...kubernetes api is divided into authentication, authorization and admission controlUsers access the API through kubectl, client libraries, or by sending REST requests. Both users (natural persons) and Kubernetes service accounts can be authorized to access ...

Added by swordske on Wed, 01 Dec 2021 21:32:21 +0200

K8S deploying Redis Cluster cluster (three master and three slave mode) - deployment notes

1, Redis introduction Redis stands for replicate dictionary server. It is an open source in memory data storage, which is usually used as a database, cache or message agent. It can store and manipulate advanced data types, such as lists, maps, collections, and sorted collections. Because Redis accepts keys in multiple formats, it can perform ...

Added by Braimaster on Mon, 29 Nov 2021 08:50:08 +0200

Kubernetes detailed tutorial - Introduction to actual combat

4. Introduction to actual combat This chapter describes how to deploy and access an nginx service in a kubernetes cluster. 4.1 Namespace Namespace is a very important resource in kubernetes system. Its main function is to realize resource isolation of multiple environments or multi tenant resources. By default, all pods in the kubernetes cl ...

Added by richmlpdx on Sun, 28 Nov 2021 19:48:30 +0200

Kubernetes detailed tutorial -- detailed explanation of Pod

5. Detailed explanation of pod 5.1 Pod introduction 5.1.1 Pod structure Each Pod can contain one or more containers, which can be divided into two categories: The number of containers where the user program is located can be more or less Pause container, which is a root container for each Pod. It has two functions: It can be used as ...

Added by Viper76 on Sun, 28 Nov 2021 14:39:29 +0200

[k8s] deploy in AWS EKS and access the nanny level tutorial of k8s Dashboard through ALB

Scope of this tutorial Deploy k8s Dashboard using EKS service on AWS and access it through ALB The EKS cluster computing node adopts managed EC2 and uses the startup template. Use AWS overseas account, us-west-2 area Use the account default vpc (172.31.0.0 / 16) and subnet Create using awscli instead of eksctl Have some knowledge of AWS, not a ...

Added by DeGauss on Fri, 26 Nov 2021 10:28:23 +0200

Deploy k8s cluster in kubedm mode, v1.19.1, and the whole process is super detailed

Deploying k8s clusters in kubedm mode Official documents: <https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/> Remember to turn off the firewall and selinux. The number of cpu cores should be at least 2 Official documents for kubedm deploying k8s highly available clusters: <https://kubernet ...

Added by mcdsoftware on Wed, 24 Nov 2021 23:18:58 +0200