Difference between revisions of "Kubernetes"
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 84: | Line 84: | ||
* {{microk8s}} | * {{microk8s}} | ||
* {{minikube}} | * {{minikube}} | ||
− | |||
− | |||
* {{Service mesh}} | * {{Service mesh}} | ||
− | |||
− | |||
* {{Container orchestration}} | * {{Container orchestration}} | ||
* {{K8s cloud services}} | * {{K8s cloud services}} |
Revision as of 16:21, 20 May 2022
Kubernetes (2014) (commonly stylized as K8s[3]) is an open-source Container-Orchestration system for automating deployment, autoscaling (based on CPU, memory[1] or custom metrics[2]) and management of containerized applications.[4] It works with a range of container tools, including Docker.
Kubernetes objects, concepts or subsystems:
- Containers, Pods, Volumes
- Persistent Volumes subsystem provides an API for users and administrators that abstracts details of how storage is provided from how it is consumed
- namespaces
Contents
Installation
See: Kubernetes installation and Kubernetes changelog/releases.
Information
Microk8s
MicroK8s single node Kubernetes solution available since December 2018[3]
- Installation:
snap install microk8s
snap install microk8s --classic
Kubernetes Log files [4]
Master
/var/log/kube-apiserver.log
- API Server, responsible for serving the API/var/log/kube-scheduler.log
- Scheduler (kube-scheduler), responsible for making scheduling decisions/var/log/kube-controller-manager.log
- Controller that manages replication controllersetcd
Worker Nodes
/var/log/kubelet.log
- Kubelet, responsible for running containers on the node/var/log/kube-proxy.log
- Kube Proxy, responsible for service load balancing
Kubernetes Ports
- Kubernetes API: TCP 6443 [5]
kubelet
listen on port 10250
See also OpenShift port requeriments: https://docs.openshift.com/container-platform/4.2/installing/installing_bare_metal/installing-bare-metal.html
Products
- Red Hat OpenShift
- Red Hat Advanced Cluster Management for Kubernetes
- OKD community distribution
- Canonical Charmed Kubernetes
Activities
- Read Kubernetes changelog/versions: https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG.md
- Read the History of Kubernetes: https://blog.risingstack.com/the-history-of-kubernetes/
- Read wikitech documentation: https://wikitech.wikimedia.org/wiki/Portal:Toolforge/Admin/Kubernetes
- Read Kubernetes Storage documentation: https://kubernetes.io/docs/concepts/storage/ and types of /Volumes/ supported.
- Review Wikipedia Kubernetes Grafana statistics: https://grafana.wikimedia.org/d/G8zPL7-Wz/kubernetes-node?orgId=1&var-dc=eqiad%20prometheus%2Fk8s&var-instance=kubernetes1002.eqiad.wmnet
Kubernetes Cloud Service Providers
Kubernetes is offered as a service on multiple public clouds, including Amazon Web Services (EKS)[6] (since June 2018 in the US East (N. Virginia) and US West (Oregon) Regions), Microsoft Azure (AKS) since october 2017,[7] DigitalOcean[8] (since May 2018),[9][10] Google Kubernetes Engine (GKE) in Google Cloud Platform[11] (at least since November 2014),[12] IBM Cloud [13], Alibaba Cloud [14], Mail.Ru Cloud Solutions (since May 2018)[15] and Oracle Kubernetes Service. For a more comprehensive list you can check https://kubernetes.io/docs/setup/pick-right-solution/#hosted-solutions. Most of them if not all requires a valid credit card.
Kubernetes Timeline
Kubernetes adoption
- August 16 2017: Github runs on Kubernetes: all web and API requests are served by containers running in Kubernetes clusters deployed on metal cloud.
Related terms
- Helm package manager
- Pod, etcd, Volume, container, Jobs
- Rancher: Rancher Desktop
- kim (Kubernetes Image Manager)
- Kubernetes operator
- Katacoda Kubernetes playground
- CoreDNS
- Control-plane
- Components:
kube-proxy
,kube-scheduler
,kube-apiserver
,kubelet
,kubectl
,kubeadm
- CustomResourceDefinition (CRD)
- Joe Beda, Brendan Burns, and Craig McLuckie
- Antrea
- Kubeaudit
- Kalm access control to cluster resources
- LogDNA
SecurityContext
- Monitoring Kubernetes
See also
- MicroK8s
- minikube: [
status
|start
|stop
|version
|addons
|addons list
|addons enable
|dashboard
|logs
|tunnel
|ssh
|config
|image | delete
],config set
minikube start --vm=true
, kicbase,~/.minikube/, minikube --help
, Minikube changelog - Service mesh: Istio, Linkerd, Consul, containerpilot, AWS App Mesh, Kiali, INNOQ, Kuma, Kong Mesh
- Container orchestration: Kubernetes, Nomad, Docker Swarm, OpenShift, Mesos, Marathon, AWS Fargate
- Kubernetes cloud services: EKS, GKE (Anthos), AKS, Docker Kubernetes Service (DKS), TKE
- CKA: v1.28: API, Namespace, Pods, secrets, Services, deployments, nodes, Volumes, Ingress, CKS
- Kubernetes: distributions, tools, CKA, CKS, Kubernetes interfaces: CSI, CNI, installation, workloads, networking,
kubeadm
,Kubernetes API
, Kubernetes API Server,kubectl, kubeadm, kubelet, kube-proxy
, Cloud services: EKS, GKE, TKE, DKS, Helm, Kubernetes RBAC, Kubernetes deployments, Minikube, Rancher, OpenShift, Charmed Kubernetes, Ingress, Kubernetes scheduler, Kubernetes Finalizers, logging, Kubernetes operator, Orka,kind:
, Kubernetes namespaces, Kubernetes dashboard, Kubernetes Metrics Server, Field Selectors, CoreDNS, CRI, Kubernetes Topology Manager, Kubernetes governance: (SIG, KEP), Kustomize, controllers,ReadinessProbe, LivenessProbe
, KOPS, K9s, Kui, k3s, ImagePullBackOff, PDB, EndPoints, Kots, metadata, Karpenter, Replicated.com, Kubernetes Authenticating, Kubernetes timeline, Changelog/Versions, service accounts, Kubernetes Pod Lifecycle, Kubernetes Conformance Certified, Kubernetes backup, Kubernetes Pod Security Admission, tEKS, Kubernetes events, Kubernetes ports, Kubernetes policies, Connect, addons, DoKC, Kubernetes control plane, Kubernetes Federation, Kubernetes info, Kubetest2, Sidecar (Kubernetes)
Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.
Source: https://en.wikiversity.org/wiki/DevOps/Kubernetes
- ↑ https://blog.powerupcloud.com/autoscaling-based-on-cpu-memory-in-kubernetes-part-ii-fe2e495bddd4
- ↑ https://docs.bitnami.com/kubernetes/how-to/configure-autoscaling-custom-metrics/
- ↑ https://snapcraft.io/blog/canonical-launches-microk8s-deploy-kubernetes-in-seconds
- ↑ https://kubernetes.io/docs/tasks/debug-application-cluster/debug-cluster/
- ↑ https://kubernetes.io/docs/reference/access-authn-authz/controlling-access/
- ↑ https://aws.amazon.com/blogs/aws/amazon-eks-now-generally-available/
- ↑ https://azure.microsoft.com/fr-fr/blog/introducing-azure-container-service-aks-managed-kubernetes-and-azure-container-registry-geo-replication/
- ↑ https://www.digitalocean.com/docs/kubernetes/overview/
- ↑ https://techcrunch.com/2018/05/02/digital-ocean-launches-its-container-platform/
- ↑ https://tech.economictimes.indiatimes.com/news/corporate/digitalocean-launches-kubernetes-based-container-service/64007829
- ↑ https://cloud.google.com/kubernetes-engine/
- ↑ https://cloud.google.com/kubernetes-engine/release-notes
- ↑ https://www.ibm.com/cloud/container-service
- ↑ https://www.alibabacloud.com/product/kubernetes
- ↑ "MCS – Mail.Ru Cloud Solutions". mcs.mail.ru (in русский). Retrieved 2018-12-05.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
Advertising: