Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
kubernates [2019/10/08 06:31]
root [Create a Deployment]
kubernates [2019/12/18 02:24] (current)
root [Overview]
Line 17: Line 17:
  
 {{ https://​d33wubrfki0l68.cloudfront.net/​d35c2b375b43b4fa374ae834f95224975418e33f/​6b47b/​images/​blog/​2018-06-05-11-ways-not-to-get-hacked/​kubernetes-control-plane.png?​600px }} {{ https://​d33wubrfki0l68.cloudfront.net/​d35c2b375b43b4fa374ae834f95224975418e33f/​6b47b/​images/​blog/​2018-06-05-11-ways-not-to-get-hacked/​kubernetes-control-plane.png?​600px }}
 +
 +== Configuration Files == 
 +
  
  
Line 59: Line 62:
  ​kubectl exec node-js-pod -- curl <private ip address> ​  ​kubectl exec node-js-pod -- curl <private ip address> ​
 </​code>​ </​code>​
 +
 +=== Pods Services Accounts ===
 +
 +The "​default"​ service account is "​defaults"​. For production environments we would want a service account dependng on the authorization plugin and policy in use. We can get the service accounts with:
 +
 +<​code>​
 +kubectl get serviceAccounts
 +</​code>​
 +
 +see also: https://​kubernetes.io/​docs/​tasks/​configure-pod-container/​configure-service-account/​
  
 === Services ===  === Services === 
Line 192: Line 205:
 Use the kubectl run command to create a Deployment that manages a Pod. The Pod runs a Container based on your hello-node:​v1 Docker image: Use the kubectl run command to create a Deployment that manages a Pod. The Pod runs a Container based on your hello-node:​v1 Docker image:
  
 +
 +<​code>​
 kubectl run hello-node --image=hello-node:​v1 --port=8080 kubectl run hello-node --image=hello-node:​v1 --port=8080
 View the Deployment: View the Deployment:
  
 kubectl get deployments kubectl get deployments
 +</​code>​
 +
 +See also [[Kubernates in Development]] with minikube ​
 +
 +== Stateful Kubernates == 
 +<​code> ​
 +kubectl create -f sdc.yaml
 +</​code>​
 +
  
 == Docker Kompose == == Docker Kompose ==
Line 206: Line 230:
 == Etcd == == Etcd ==
 A distributed,​ reliable key-value store for the most critical data of a distributed system A distributed,​ reliable key-value store for the most critical data of a distributed system
 +
 +== Monitoring ==
 +see also [[prometheus]]
 +Kubernates exposes
 +
 +
 == Links and Ref ==  == Links and Ref == 
 * [[https://​testdriven.io/​blog/​running-flask-on-kubernetes/?​source=4320ef6a6395 | A full article to spin up flask]] on kuberantes * [[https://​testdriven.io/​blog/​running-flask-on-kubernetes/?​source=4320ef6a6395 | A full article to spin up flask]] on kuberantes
 * [[https://​docs.datadoghq.com/​integrations/​kubernetes/​ | data dog kubernates]] blog  * [[https://​docs.datadoghq.com/​integrations/​kubernetes/​ | data dog kubernates]] blog 
 * My [[http://​www.client2server.com/​doku.php/​blog_post_video#​kubernates_playlist | Kubernates Blogs]] list  * My [[http://​www.client2server.com/​doku.php/​blog_post_video#​kubernates_playlist | Kubernates Blogs]] list 
 +* Lightweight Kubernetes. 5 less than k8s. https://​k3s.io from rancher ​
 +
 +== Links and Reference ==
 +* My {{https://​docs.google.com/​presentation/​d/​1E-CM4FnDDDp1N7HLSse3al8KlzgE41_4K5ueZkBfZqA/​edit?​usp=sharing | Getting Started with Kubernates}}
 
kubernates.1570541505.txt.gz · Last modified: 2019/10/08 06:31 by root
 
RSS - 200 © CrosswireDigitialMedia Ltd