Skip to content

AdityaKoranga/K8s-operator-Nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

K8s-operator-Nginx

Prerequisite:

Make sure a cluster is running.

Let's start

Operator initialization

operator-sdk init \
  --domain adityakoranga.com \
  --plugins helm

API creation:

operator-sdk create api \
--group demo \
--version v1alpha1 \
--kind Nginx

Install CRD:

make install

setting the docker image:

export IMG=addytiv/nginx-helm-operator:0.0.1

Build and Push operator docker image:

make docker-build docker-push IMG=${IMG}

Time to deploy:

make deploy IMG=${IMG}

Install Custom Resource:

kubectl apply -f config/samples/demo_v1alpha1_nginx.yaml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published