Skip to content

ivnovyuriy/lab2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

itran-lab2

2.1 Installing minicube (microk8s on Apple silicon)

-> brew install ubuntu/microk8s/microk8s

microk8s

microk8s

microk8s

2.2 Create namespace

-> microk8s kubectl create namespace mynamespace

-> microk8s kubectl get namespaces

namespace

2.3 Deployment file to install nginx

-> microk8s kubectl apply -f main.yaml -n mynamespace

deployment

test deployment

-> microk8s kubectl get deployments --namespace=mynamespace

test pods

-> microk8s kubectl get pods --namespace=mynamespace

2.4 install ingress controller

-> microk8s enable ingress

ingress

2.5 Run commands

-> microk8s kubectl get pods -A

pods

-> microk8s kubectl get svc

svc

-> kubectl get all

all

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published