Difference between revisions of "Kubernetes"

From wikieduonline
Jump to navigation Jump to search
 
(134 intermediate revisions by 7 users not shown)
Line 1: Line 1:
'''[[wikipedia:Kubernetes|Kubernetes]]''' (commonly stylized as K8s[3]) is an open-source [[/Container-Orchestration/]] system for automating deployment, autoscaling (based on CPU, memory<ref>https://blog.powerupcloud.com/autoscaling-based-on-cpu-memory-in-kubernetes-part-ii-fe2e495bddd4</ref> or custom metrics<ref>https://docs.bitnami.com/kubernetes/how-to/configure-autoscaling-custom-metrics/</ref>) and management of containerized applications.[4] It works with a range of container tools, including '''[[Docker]]'''.
+
'''[[wikipedia:Kubernetes|Kubernetes]]''' (Jun [[2014]], [https://trends.google.com/trends/explore?date=all&q=Kubernetes Google trends]) is an open-source [[Container-Orchestration]] system for automating deployment, autoscaling (based on CPU, memory<ref>https://blog.powerupcloud.com/autoscaling-based-on-cpu-memory-in-kubernetes-part-ii-fe2e495bddd4</ref> or custom metrics<ref>https://docs.bitnami.com/kubernetes/how-to/configure-autoscaling-custom-metrics/</ref>) and management of containerized applications.[4] Kubernetes works with [[Docker]], <code>[[containerd]]</code>, and [[CRI-O]].
  
 
Kubernetes objects, concepts or subsystems:
 
Kubernetes objects, concepts or subsystems:
* [[Containers]], [[/Pods/]], [[/Volumes/]]
+
* [[Containers]], [[Pods]], [[Volumes (Kubernetes)|Volumes]], [[Kubernetes namespaces|namespaces]]
* [[/Persistent Volumes/]] subsystem provides an API for users and administrators that abstracts details of how storage is provided from how it is consumed
+
* [[Persistent Volumes]] subsystem provides an [[API]] for users and administrators that abstracts details of how storage is provided from how it is consumed
* [[/namespaces/]]  
+
* [[Kubernetes: Ingress controllers|Ingress controllers]]
 +
* [[kubectl get all -A|Complete list]]: <code>[[statefulset.apps]], [[replicaset.apps]], [[Kubernetes deployments|deployment.apps]], [[Kubernetes services|service]], [[Pod (Kubernetes)|pod]], [[job.batch]], [[Kubernetes CronJobs|cronjob.batch]], [[daemonset.apps]], [[ClusterIP]], [[NodePort]]</code>
 +
* [[Joe Beda]], [[Brendan Burns]], and [[Craig McLuckie]]
  
 +
== Installation ==
 +
See: [[Kubernetes installation]] and [[Kubernetes changelog|Kubernetes changelog/releases]].
  
== Installation ==
+
== Tools ==
See: [[/Installation/]] and [[Kubernetes changelog]].
+
* <code>[[kubectl]]</code>
 +
* <code>[[kubeadm]]</code>
 +
* <code>[[eksctl]]</code>
 +
* [[K9s]]
 +
* [[Lens]]
 +
* [[Rancher]]
 +
* <code>[[tfk8s]]</code>
 +
 
 +
== Information ==
 +
* <code>[[kubeadm version]]</code>
 +
* <code>[[kubectl get nodes]]</code>
  
 
== Microk8s ==
 
== Microk8s ==
MicroK8s single node Kubernetes solution available since December 2018<ref>https://snapcraft.io/blog/canonical-launches-microk8s-deploy-kubernetes-in-seconds</ref>
+
[[MicroK8s]] single [[node]] Kubernetes solution available since December 2018<ref>https://snapcraft.io/blog/canonical-launches-microk8s-deploy-kubernetes-in-seconds</ref>
  
 
* Installation:  
 
* Installation:  
** <code>snap install microk8s</code>
+
** <code>[[snap install]] microk8s</code>
 
** <code>snap install microk8s --classic</code>
 
** <code>snap install microk8s --classic</code>
  
== minikube ==
+
== [[Kubernetes log files]] <ref>https://kubernetes.io/docs/tasks/debug-application-cluster/debug-cluster/</ref>==
<code>brew cask install minikube</code><ref>https://github.com/kubernetes/minikube</ref>
 
  
== Kubernetes Log files <ref>https://kubernetes.io/docs/tasks/debug-application-cluster/debug-cluster/</ref>==
+
== Kubernetes Ports ==
Master
+
* [[Kubernetes API]]: [[TCP]] 6443 <ref>https://kubernetes.io/docs/reference/access-authn-authz/controlling-access/</ref>
* <code>/var/log/kube-apiserver.log</code> - API Server, responsible for serving the API
+
* <code>[[kubelet]]</code> listen on port 10250
* <code>/var/log/kube-scheduler.log</code> - Scheduler, responsible for making scheduling decisions
 
* <code>/var/log/kube-controller-manager.log</code> - Controller that manages replication controllers
 
* [[etcd]]
 
  
Worker Nodes
+
See also [[OpenShift]] port requeriments: https://docs.openshift.com/container-platform/4.2/installing/installing_bare_metal/installing-bare-metal.html
* <code>/var/log/kubelet.log</code> - Kubelet, responsible for running containers on the node
 
* <code>/var/log/kube-proxy.log</code> - Kube Proxy, responsible for service load balancing
 
  
== Kubernetes Ports ==
+
== Products ==
* Kubernetes API: TCP 6443 <ref>https://kubernetes.io/docs/reference/access-authn-authz/controlling-access/</ref>
+
* Red Hat [[OpenShift]]
See also [[OpenShift]] port requeriments: https://docs.openshift.com/container-platform/4.2/installing/installing_bare_metal/installing-bare-metal.html
+
* [[Red Hat Advanced Cluster Management for Kubernetes]]
 +
* [[OKD]] community distribution
 +
* Canonical [[Charmed Kubernetes]]
  
 
== Activities  ==
 
== Activities  ==
* Read [[Kubernetes changelog]]: https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG.md
+
* 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 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 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.
 
* 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
 
* 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
 +
* [[Connect to K8s cluster]]
 +
* [[Kubernetes quiz]]
 +
* [[How to run ubuntu in docker]]
 +
* [[Get a shell to a running container]]
 +
* [[Pull an Image from a Private Registry in Kubernetes|Pull an Image from a Private Registry]]
  
 
== Kubernetes Cloud Service Providers ==
 
== Kubernetes Cloud Service Providers ==
Kubernetes is offered as a service on multiple Cloud computing#Public cloud|public clouds, including [[Amazon Web Services]] ([[DevOps/Kubernetes/EKS|EKS]])<ref>https://aws.amazon.com/blogs/aws/amazon-eks-now-generally-available/</ref> (since June 2018 in the US East (N. Virginia) and US West (Oregon) Regions), [[Microsoft Azure]] (AKS) since october 2017,<ref>https://azure.microsoft.com/fr-fr/blog/introducing-azure-container-service-aks-managed-kubernetes-and-azure-container-registry-geo-replication/</ref> [[DigitalOcean]]<ref>https://www.digitalocean.com/docs/kubernetes/overview/</ref> (since May 2018),<ref>https://techcrunch.com/2018/05/02/digital-ocean-launches-its-container-platform/</ref><ref>https://tech.economictimes.indiatimes.com/news/corporate/digitalocean-launches-kubernetes-based-container-service/64007829</ref> [[Google Kubernetes Engine]] (GKE) in [[Google Cloud Platform]]<ref>https://cloud.google.com/kubernetes-engine/</ref> (at least since November 2014),<ref>https://cloud.google.com/kubernetes-engine/release-notes</ref> [[IBM cloud computing|IBM Cloud]] <ref>https://www.ibm.com/cloud/container-service</ref>, [[Alibaba Cloud]] <ref>https://www.alibabacloud.com/product/kubernetes</ref>, Mail.Ru Cloud Solutions (since May 2018)<ref>{{Cite web|url=https://mcs.mail.ru/en/iaas/|title=MCS – Mail.Ru Cloud Solutions|website=mcs.mail.ru|language=ru|access-date=2018-12-05}}</ref>. 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 cloud services|Kubernetes is offered as a service]] on multiple public clouds, including [[Amazon Web Services]] ([[EKS]])<ref>https://aws.amazon.com/blogs/aws/amazon-eks-now-generally-available/</ref> (since June 2018 in the US East (N. Virginia) and US West (Oregon) Regions), [[Microsoft Azure]] (AKS) since october 2017,<ref>https://azure.microsoft.com/fr-fr/blog/introducing-azure-container-service-aks-managed-kubernetes-and-azure-container-registry-geo-replication/</ref> [[DigitalOcean]]<ref>https://www.digitalocean.com/docs/kubernetes/overview/</ref> (since May 2018),<ref>https://techcrunch.com/2018/05/02/digital-ocean-launches-its-container-platform/</ref><ref>https://tech.economictimes.indiatimes.com/news/corporate/digitalocean-launches-kubernetes-based-container-service/64007829</ref> [[Google Kubernetes Engine]] (GKE) in [[Google Cloud Platform]]<ref>https://cloud.google.com/kubernetes-engine/</ref> (at least since November 2014),<ref>https://cloud.google.com/kubernetes-engine/release-notes</ref> [[IBM cloud computing|IBM Cloud]] <ref>https://www.ibm.com/cloud/container-service</ref>, [[Alibaba Cloud]] <ref>https://www.alibabacloud.com/product/kubernetes</ref>, Mail.Ru Cloud Solutions (since May 2018)<ref>{{Cite web|url=https://mcs.mail.ru/en/iaas/|title=MCS – Mail.Ru Cloud Solutions|website=mcs.mail.ru|language=ru|access-date=2018-12-05}}</ref> 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.
  
== Kubernetes Timeline ==
+
== Related terms ==
* 12/2018 [[Microk8s]] released<ref>https://snapcraft.io/blog/canonical-launches-microk8s-deploy-kubernetes-in-seconds</ref>
+
* [[Helm]] [[package manager]]
 +
* [[Rancher]]: [[Rancher Desktop]]
 +
* [[kim (Kubernetes Image Manager)]]
 +
* [[Kubernetes operator]]
 +
* [[Katacoda]] Kubernetes playground
 +
* [[CoreDNS]]
 +
* <code>[[dnsPolicy:]]</code>
 +
* Components: <code>[[kube-proxy]]</code>, <code>[[kube-scheduler]]</code>, <code>[[kube-apiserver]]</code>, <code>[[kubelet]]</code>, <code>[[kubectl]]</code>, <code>[[kubeadm]]</code>
 +
* [[CustomResourceDefinition (CRD)]]
 +
* [[Antrea]]
 +
* [[Kubeaudit]]
 +
* [[Kalm]] access control to [[cluster resources]]
 +
* [[LogDNA]]
 +
* [[Pixie]]
 +
* <code>[[SecurityContext]]</code>
 +
* [[Kubernetes troubleshooting]]
 +
* [[Replicated.com]]
 +
* [[Teleport]]
 +
* [[GitLab Kubernetes agent server (KAS)]]
 +
* [[registry.k8s.io]]
 +
* [[Kubernetes Control Plane]]
  
 
== See also ==
 
== See also ==
 +
* {{Service mesh}}
 +
* {{Container orchestration}}
 
* {{k8s}}
 
* {{k8s}}
* [[microk8s]] (runs a single-node Kubernetes cluster inside a VM on your laptop, also distributed like [[snap]] by Canonical)
+
* {{K8s cloud services}}
* [[minikube]] <code>brew cask install minikube</code>
 
* [[etcd]] distributed key/value store used by Kubernetes
 
* [[/Pod/]] (aggrupation of containers)
 
* [[Peloton]], a unified resource scheduler developed by Uber <ref>https://eng.uber.com/open-sourcing-peloton/</ref>
 
* [[/Nomad/]] container orchestration tool developed by [[HashiCorp]]
 
* [[/Helm/]] package manager for Kubernetes
 
* [[Openshift]] Kubernetes based platform
 
* [[Mesos]]
 
* [[Anthos]] and [[GCP]]
 
  
  
[[Category:Cloud computing]]
 
[[Category:Software development]]
 
[[Category:Server administration]]
 
 
[[Category:Linux containers]]
 
[[Category:Linux containers]]
 
[[Category:Kubernetes]]
 
[[Category:Kubernetes]]

Latest revision as of 20:26, 17 July 2024

Kubernetes (Jun 2014, Google trends) 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] Kubernetes works with Docker, containerd, and CRI-O.

Kubernetes objects, concepts or subsystems:

Installation[edit]

See: Kubernetes installation and Kubernetes changelog/releases.

Tools[edit]

Information[edit]

Microk8s[edit]

MicroK8s single node Kubernetes solution available since December 2018[3]

  • Installation:

Kubernetes log files [4][edit]

Kubernetes Ports[edit]

See also OpenShift port requeriments: https://docs.openshift.com/container-platform/4.2/installing/installing_bare_metal/installing-bare-metal.html

Products[edit]

Activities[edit]

Kubernetes Cloud Service Providers[edit]

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[edit]

Kubernetes adoption[edit]

  • 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[edit]

See also[edit]

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

Advertising: