Table of Contents
This repository contains various examples of kubernetes deployments files. All of the examples has been tested using an on-premise Rancher's RKE2 cluster.
As I used Rancher's RKE2 distribution, you might need to change some of the deployments configuration in accordance to your prefered kubernetes distribution, for example the storage class for these deployments uses openebs
storage class, you can let it be or change it to your own storage class. Also, the namespace are set to fahmy-system
, you might want to change that to your own namespace.
Clone this repository:
git clone https://github.com/fahmyabdul/kube-deployments
Move to kube-deployments directory:
cd kube-deployments
To use the deployments file, execute the command below:
kubectl apply -f <deployment_filename>.yml
For example:
kubectl apply -f databases/mongo.yml
You're more than welcome to add more kubernetes deployments example to this repository as well as modifying the existing examples to be a better example. Lets add more examples to this repository to help us fellow kubernetes beginners to learn more about kubernetes deployments.