From ad6e01ac572f46abc94c934632bc675ca30cfd5c Mon Sep 17 00:00:00 2001 From: Anmol Date: Fri, 6 Sep 2024 15:55:29 +0530 Subject: [PATCH 1/2] remove kind from setup setps (#555) --- docs/pages/get-started/step-2.mdx | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/docs/pages/get-started/step-2.mdx b/docs/pages/get-started/step-2.mdx index 2bfda5bf..f3b84767 100644 --- a/docs/pages/get-started/step-2.mdx +++ b/docs/pages/get-started/step-2.mdx @@ -7,7 +7,7 @@ By the end of this tutorial you should be able to run `kubectl get nodes` and se Please **follow any one of the following** sections to setup a Kubernetes cluster. -## 2.1.1) Recommended: Setup with Docker Desktop +## 2.1) Setup with Docker Desktop Docker Desktop includes a standalone Kubernetes server and client, as well as Docker CLI integration that runs on your machine. ### Enable kubernetes @@ -31,33 +31,6 @@ kubectl config use-context docker-desktop Detailed Reference: https://docs.docker.com/desktop/kubernetes/ -## 2.1.2) Alternative: Setup with Kind Cluster - -### Install Kind -Follow the steps in the official documentation to install kind: https://kind.sigs.k8s.io/docs/user/quick-start/ - -Make sure kind is installed -```bash -kind version -# -# kind v0.18.0 go1.20.2 linux/amd64 -``` - -Make sure docker is running, and you have access to it. -```bash -docker ps -``` - -### Create kind cluster -Run -```bash -kind create cluster --name starship -``` - -Note: Kind will create an entry in the kubeconfig file and set the context to the new cluster. - -Detailed Reference: https://kind.sigs.k8s.io/docs/user/quick-start/#creating-a-cluster - ## 2.2) Check Access to kubernetes Once you are connected to a kubernetes cluster, you should be able to run the following command and see a list of nodes. From 85f6073f375b943cc9eb3af49be1003cc80cdabe Mon Sep 17 00:00:00 2001 From: Anmol1696 Date: Mon, 9 Sep 2024 12:24:19 +0400 Subject: [PATCH 2/2] upgrade default version of starship --- clients/js/packages/client/src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/js/packages/client/src/client.ts b/clients/js/packages/client/src/client.ts index 2f84eff2..4c572f6d 100644 --- a/clients/js/packages/client/src/client.ts +++ b/clients/js/packages/client/src/client.ts @@ -47,7 +47,7 @@ export interface PodPorts { } const defaultName: string = 'starship'; -const defaultVersion: string = 'v0.2.10'; +const defaultVersion: string = 'v0.2.12'; // TODO talk to Anmol about moving these into yaml, if not already possible? const defaultPorts: PodPorts = {