Skip to content

python-spokane/kubernetes-and-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes and Python

Reference

https://github.com/philspokas/deploying-kubernetes/blob/main/create-cluster.ps1

docker

Start a local container registry

docker run -d -p 5000:5000 --restart=always --name registry registry:2

build image

cd ./example-cars/
docker-compose build

tag image

docker tag example-cars:latest localhost:5000/example-cars

push image to local registry

docker push localhost:5000/example-cars

kubectl

kubectl apply -f .\app.yaml

az (Azure)

Setup

az login
az aks list
az acr login --name <registry name>

Create network

az network public-ip create --resource-group aksdemo --name example-cars-ip

About

7/15/2021 - Deploying to Kubernetes (Spokane DevOps)

Topics

Resources

Stars

Watchers

Forks