Skip to content

Talha-Altair/cpu_intensive_multiprocessing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running Deployment

installing kubectl

Linux

curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"

sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl

MacOS

brew install kubectl

installing kind for local deployment

Linux

curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.11.1/kind-linux-amd64
chmod +x ./kind
mv ./kind /some-dir-in-your-PATH/kind

MacOS

brew install kind

Creating a local kind cluster

kind create cluster --name <cluster-name>

Cloud Clusters

Connect to a cloud provided cluster using a connection specific to your provider

Verify Cluster status through kubectl

kubectl get all

Make sure no error is shown

Deploying to k8s

Build and push image accordingly

change image name and tag in k8s/deploy.yaml file

kubectl apply -f k8s

Monitor Cluster Status

watch kubectl get all

Exec into a pod

kubectl get pods

kubectl exec -it pod/<pod-name> -- bash

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published