Skip to content

olaekdahl/k8s-lab-files-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. kubectl label nodes <control plane> labfiles="true"
  2. mkdir ~/labfiles
  3. Copy your files to ~/labfiles
  4. git clone https://github.com/olaekdahl/k8s-lab-files-server.git on your lab server.
  5. cd k8s-lab-files-server/
  6. kubectl apply -f pv.yaml,pvc.yaml,deployment.yaml
    • Check folder location in pv.yaml. It's /home/student/labfiles by default
  7. kubectl expose deployment labfiles-server --type=NodePort
  8. kubectl get svc to get port number
  9. curl ifconfig.io to get public ip address
  10. http://<ip address>:<port number>/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published