Skip to content

ghinks/python-minikube-deployments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple deployments for demonstration of issue with python kubernetes client

List of commands applied

image build commands

  • docker build --tag ghinks/python-for-cloud:0.0.1 .
  • docker push ghinks/python-for-cloud:0.0.1

kubernetes cmds

  • kubectl apply -f deployment.yml --dry-run=server

  • kubectl apply -f deployment.yml

  • kubectl apply -f service.yml --dry-run=server

  • kubectl apply -f service.yml

  • kubectl get svc

  • k get pod <pod-name> -o json | jq ".spec.containers" | jq ".[].name"

  • k get ns

  • k describe ns default

  • istio setup from istio docs

  • k label namespace default istio-injection=enabled

  • k label namespace default <label_name>- to delete

  • k describe ns default

local python commands (new linux box)

  • apt install python3.10-venv
  • python3.10 -m venv env

About

Deployment scripts for local minikube cluster for investigation of the [python kubernetes module](https://pypi.org/project/kubernetes/)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages