Skip to content

FlWerner/K8S-Introduction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

---Build Demo in Docker---

docker build -t demo:5 .

---Build Demo with MiniKube---

minikube image build -t demo:4 .--> laufende nummer anpassen

--Start Deployment--

kubectl apply -f deployment.yaml

--Get Kubernetes Service

kubectl get svc

--Port-Forwarding--

kubectl port-forward service/servicehra 8080:8080

--Scale Deployment--

kubectl scale --replicas=4 deployment/hra

About

Introduction in K8S with an smale example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published