/apikube

CRUD operation on Deployment using Kubernetes API

Primary LanguageGoApache License 2.0Apache-2.0

apikube

This repo contains code for Creating, Updating and Deleting Deployment, Service and Ingress using client-go.

Commands

First clone the repo and run the command go install

Then run the following commands:

apikube create //creates a deployment
apikube expose //exposes the deployment
apikube scale // scale the deployment
apikube ingress // creates a ingress
apikube delete // deletes all