Difference between revisions of "Kubernetes"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
(40 intermediate revisions by the same user 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]]''' (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]]'''.
  
 
Kubernetes objects, concepts or subsystems:
 
Kubernetes objects, concepts or subsystems:
* [[Containers]], [[/Pods/]], [[/Volumes/]]
+
* [[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
+
* [[Persistent Volumes]] subsystem provides an [[API]] for users and administrators that abstracts details of how storage is provided from how it is consumed
* [[/namespaces/]]  
+
* [[Namespace|namespaces]]  
  
  
 
== Installation ==
 
== Installation ==
See: [[/Installation/]] and [[Kubernetes changelog]].
+
See: [[Kubernetes installation]] and [[Kubernetes changelog|Kubernetes changelog/releases]].
  
 
== Microk8s ==
 
== Microk8s ==
Line 14: Line 14:
  
 
* 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 ==
 
== minikube ==
<code>brew cask install minikube</code><ref>https://github.com/kubernetes/minikube</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 Log files <ref>https://kubernetes.io/docs/tasks/debug-application-cluster/debug-cluster/</ref>==
 
Master
 
Master
* <code>/var/log/kube-apiserver.log</code> - API Server, responsible for serving the API
+
* <code>/var/log/kube-apiserver.log</code> - [[Kubernetes API Server|API Server]], responsible for serving the API
 
* <code>/var/log/kube-scheduler.log</code> - Scheduler, responsible for making scheduling decisions
 
* <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
 
* <code>/var/log/kube-controller-manager.log</code> - Controller that manages replication controllers
Line 28: Line 28:
  
 
Worker Nodes
 
Worker Nodes
* <code>/var/log/kubelet.log</code> - Kubelet, responsible for running containers on the node
+
* <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
 
* <code>/var/log/kube-proxy.log</code> - Kube Proxy, responsible for service load balancing
  
Line 36: Line 36:
  
 
== 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
Line 43: Line 43:
  
 
== 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 Timeline ==
 
* 12/2018 [[Microk8s]] released<ref>https://snapcraft.io/blog/canonical-launches-microk8s-deploy-kubernetes-in-seconds</ref>
 
* 12/2018 [[Microk8s]] released<ref>https://snapcraft.io/blog/canonical-launches-microk8s-deploy-kubernetes-in-seconds</ref>
 +
* 06/2018 [[Amazon EKS]]
 +
* 2015 [[GKE]]
 +
* 06/2014 Initial release
 +
 +
== Related terms ==
 +
* [[Helm]], [[Pod]], [[etcd]], [[Volume]], [[container]], [[Jobs]]
 +
* [[Rancher]]
 +
* [[Kubernetes operators]]
  
 
== See also ==
 
== See also ==
* {{kubernetes}}
+
* {{k8s}}
 +
* {{K8s cloud services}}
 +
 
 +
* [[Helm]] [[package manager]] for Kubernetes
 +
* [[Pod]] (aggrupation of containers)
 
* [[microk8s]] (runs a single-node Kubernetes cluster inside a VM on your laptop, also distributed like [[snap]] by Canonical)
 
* [[microk8s]] (runs a single-node Kubernetes cluster inside a VM on your laptop, also distributed like [[snap]] by Canonical)
 
* [[minikube]] <code>brew cask install minikube</code>
 
* [[minikube]] <code>brew cask install minikube</code>
* [[etcd]] distributed key/value store used by Kubernetes
+
* [[Peloton]], a unified resource scheduler developed by Uber <ref>https://eng.uber.com/open-sourcing-peloton/</ref>  
* [[/Pod/]] (aggrupation of containers)
+
* [[Calico]]
* [[Peloton]], a unified resource scheduler developed by Uber <ref>https://eng.uber.com/open-sourcing-peloton/</ref>
+
* [[Istio]]
* [[/Nomad/]] container orchestration tool developed by [[HashiCorp]]
+
* [[Cilium]]
* [[/Helm/]] package manager for Kubernetes
+
* {{Container orchestration}}
* [[Certified Kubernetes Administrator]]
 
* [[Openshift]] Kubernetes based platform
 
* [[/Mesos/]]
 
* [[Anthos]] and GCP
 
* [[KOPS]] Kubernetes Operations https://github.com/kubernetes/kops
 
  
 
[[Category:Cloud computing]]
 
[[Category:Cloud computing]]
 
[[Category:Software development]]
 
[[Category:Software development]]
 
[[Category:Server administration]]
 
[[Category:Server administration]]
 +
[[Category:Linux containers]]
 +
[[Category:Kubernetes]]
 +
 
{{CC license}}
 
{{CC license}}
 
Source: https://en.wikiversity.org/wiki/DevOps/Kubernetes
 
Source: https://en.wikiversity.org/wiki/DevOps/Kubernetes

Revision as of 12:20, 11 March 2020

Kubernetes (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:


Installation

See: Kubernetes installation and Kubernetes changelog/releases.

Microk8s

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

  • Installation:
    • snap install microk8s
    • snap install microk8s --classic

minikube

Kubernetes Log files [5]

Master

  • /var/log/kube-apiserver.log - API Server, responsible for serving the API
  • /var/log/kube-scheduler.log - Scheduler, responsible for making scheduling decisions
  • /var/log/kube-controller-manager.log - Controller that manages replication controllers
  • etcd

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

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

Activities

Kubernetes Cloud Service Providers

Kubernetes is offered as a service on multiple public clouds, including Amazon Web Services (EKS)[7] (since June 2018 in the US East (N. Virginia) and US West (Oregon) Regions), Microsoft Azure (AKS) since october 2017,[8] DigitalOcean[9] (since May 2018),[10][11] Google Kubernetes Engine (GKE) in Google Cloud Platform[12] (at least since November 2014),[13] IBM Cloud [14], Alibaba Cloud [15], Mail.Ru Cloud Solutions (since May 2018)[16] 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

Related terms

See also

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: