Skip to content

eugene-chernyshenko/k8s-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

README

kubernetes

brew install kubectx

https://www.youtube.com/watch?v=CgCLPYJRxbU

resource management

https://www.youtube.com/watch?v=10ZR-fbyuSY

helm

brew install helm
helm plugin install https://github.com/databus23/helm-diff
brew install helmfile

k8s files

namespace

01-namespace.yaml

pod

02-pod.yaml

deployment

03-deploy.yaml

service

04-service.yaml

secrets

05-secret.yaml

05-deploy.yaml

configmap

06-configmap.yaml

06-deploy.yaml

node port

07-service.yaml

ingress

08-ingress.yaml

resources

09-deploy.yaml

daemonset

10-daemonset.yaml

persistent volume claim

11-pvc.yaml

11-pod.yaml

statefulset

12-statefulset.yaml

watch api

create crb

kubectl create rolebinding default-to-admin \
  --clusterrole=admin \
  --serviceaccount=default:default \
  --namespace=default

watch pod events

curl -sSk -H "Authorization: Bearer $KUBE_TOKEN" \
https://$KUBERNETES_SERVICE_HOST:$KUBERNETES_PORT_443_TCP_PORT/api/v1/namespaces/default/pods?watch

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages