Skip to content

k8sobjects is a collection of Kubernetes objects that provides templates and examples for deploying various applications and services in a Kubernetes cluster.

License

Notifications You must be signed in to change notification settings

bhowmickkrishnendu/k8sobjects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k8sobjects - A Kubernetes Collection

This repository contains a collection of Kubernetes objects that can be used as templates or examples for deploying various applications and services in a Kubernetes cluster.

Prerequisites

To use the Kubernetes objects in this repository, you must have the following installed on your local machine:

kubectl: the Kubernetes command-line tool A running Kubernetes cluster, such as Minikube

Usage

To deploy a Kubernetes object from this repository, follow these steps:

Clone this repository to your local machine:

git clone https://github.com/bhowmickkrishnendu/k8sobjects.git

Change into the directory for the object you want to deploy:

cd k8sobjects/

Edit the YAML file for the object to customize it for your specific needs.

Deploy the object to your Kubernetes cluster using kubectl:

kubectl apply -f .yaml

Replace with the name of the YAML file for the object you want to deploy.

Objects

This repository contains the following Kubernetes objects:

deployment.yaml: a deployment object that creates a replica set for a sample web application. service.yaml: a service object that exposes the sample web application deployment on port 80. configmap.yaml: a config map object that stores the configuration data for the sample web application. secret.yaml: a secret object that stores sensitive information, such as passwords or API keys, for the sample web application. job.yaml: a job object that runs a batch process to generate a report and save it to a shared volume. cronjob.yaml: a cron job object that schedules the batch process to run at regular intervals.

Contributing

If you have a Kubernetes object that you'd like to add to this repository, please fork the repository, create a new branch for your changes, add your object to the appropriate directory, and submit a pull request.

License

This repository is licensed under the MIT License.

About

k8sobjects is a collection of Kubernetes objects that provides templates and examples for deploying various applications and services in a Kubernetes cluster.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published