Skip to content

QGreenland-Net/rancher-desktop-exploration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Rancher Desktop exploration

Linux installation

Followed .deb install instructions.

Hello world

  • Files in this repo created following hello world example instructions.

  • Run command to build the image and then view it:

    docker build --tag nginx-helloworld:latest .
    docker images | grep nginx-helloworld
    
  • Deploy to k8s:

    kubectl run hello-world --image=nginx-helloworld:latest --image-pull-policy=Never --port=80
    kubectl port-forward pods/hello-world 8080:80
    

    [!IMPORTANT]

    You will need to wait in between these commands, or you may receive error: unable to forward port because pod is not running. Current status=Pending.

    Once the second command is run, your shell will be captured.

  • Visit localhost:8080 to view a lovely message.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published