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/10/20 09:03] (current)
root
Line 59: Line 59:
  ​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 202:
 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 210: Line 231:
 * [[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