Skip to content

learnitguide/kubernetes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

kubernetes

This is a repository created to manage all kubernetes related stuffs.

We can deploy the application in kubernetes cluster using kubectl commands or using YAML configuration files. Using YAML helps us to create more complex structures and apply it immediately on the fly. YAML files can be added to version control system to track the file changes. You can create number of yaml files for each application deployments, services, pods and so on.

httpd: Here we have created a two yaml files to deploy httpd for deployment and service respectively.

httpd-basic-deployment.yml - It will run a single container within a pod using a docker image "httpd" and it will listen on port 80. httpd-basic-service.yml - This file is for service that expose the port externally so that users will be able to access it.

Checkout this link for more informatin : https://www.learnitguide.net/2018/08/create-kubernetes-yaml-for-deployment.html

About

This is a repository created to manage all kubernetes related stuffs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published