Join our Discord Server
Ajeet Raina Ajeet Singh Raina is a former Docker Captain, Community Leader and Distinguished Arm Ambassador. He is a founder of Collabnix blogging site and has authored more than 700+ blogs on Docker, Kubernetes and Cloud-Native Technology. He runs a community Slack of 9800+ members and discord server close to 2600+ members. You can follow him on Twitter(@ajeetsraina).

How I turned ChatGPT into Kubernetes and Helm Playground in 5 Minutes

56 sec read

As a highly advanced language model, ChatGPT can be fine-tuned on specific tasks, or on specific data, to improve its accuracy and performance even more. It can be fine-tuned on a dataset of Linux commands and corresponding outputs, or on a dataset of Helm commands and corresponding outputs, to simulate a Linux terminal or Helm playground respectively.

Here’s how I turned ChatGPT into a Kubernetes and Helm Playground.

Ajeet: Hello GPT. Good Morning. I want you to act as a Mac terminal. Kubernetes is already installed. I will type some commands and you’ll reply with what the terminal should show. Please show the result using the Mac terminal. When I tell you something, I will do so by putting text inside curly brackets {like this}. Please don’t write an explanation just the command result is sufficient. My first command is the kubectl version.

Image1

Ajeet: {kubectl get po,deploy,svc}

Image2

Ajeet: {kubectl run –image=nginx nginx-app –port=80 –env=”DOMAIN=cluster”}

Image3

Ajeet:{kubectl expose deployment nginx-app –port=80 –name=nginx-http}

Image4

Ajeet: {kubectl get po,svc,deploy}

Image5

Ajeet: {curl 10.100.67.94:80}

Image6

Ajeet: {helm repo add bitnami https://charts.bitnami.com/bitnami}

Image7

Ajeet: {helm repo update}

Image8

Ajeet: {helm install bitnami/mysql –generate-name}

Image9

Ajeet: {helm show chart bitnami/mysql}

Image9

 

Additional Resources:

Have Queries? Join https://launchpass.com/collabnix

Ajeet Raina Ajeet Singh Raina is a former Docker Captain, Community Leader and Distinguished Arm Ambassador. He is a founder of Collabnix blogging site and has authored more than 700+ blogs on Docker, Kubernetes and Cloud-Native Technology. He runs a community Slack of 9800+ members and discord server close to 2600+ members. You can follow him on Twitter(@ajeetsraina).
Join our Discord Server