Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/update_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ jobs:
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
- run: cd Tutorial; mike deploy --push 0.0.1
- run: cd Tutorial; mike deploy --push 5.0.0
2 changes: 1 addition & 1 deletion Tutorial/docs/tutorials/pre-requisites/babylon.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cd ~/Tooling
git clone git@github.com:Cosmo-Tech/Babylon.git Babylon

cd Babylon
git checkout 4.2.3
git checkout 5.0.0

python3 -m venv .venv

Expand Down
58 changes: 0 additions & 58 deletions Tutorial/docs/tutorials/pre-requisites/coal.md

This file was deleted.

4 changes: 2 additions & 2 deletions Tutorial/docs/tutorials/pre-requisites/cosmotech-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ The installer does not allow for inplace updates, to make version change of your

Those references are locked behind an account having access to the Cosmo Tech documentation Portal

- [SDK User Guide](https://portal.cosmotech.com/docs//documentation/Studio_Guide_Portal/11.3/Content/WhatsNew.htm)
- [Official installation guide](https://portal.cosmotech.com/docs//documentation/Studio_Guide_Portal/11.3/Content/SDK_OK/Studio%20Installation%20Guide.htm)
- [SDK User Guide](https://portal.cosmotech.com/docs//documentation/Studio_Guide_Portal/12.0/Content/WhatsNew.htm)
- [Official installation guide](https://portal.cosmotech.com/docs//documentation/Studio_Guide_Portal/12.0/Content/SDK_OK/Studio%20Installation%20Guide.htm)
10 changes: 1 addition & 9 deletions Tutorial/docs/tutorials/pre-requisites/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,11 @@ Docker is required for containerized deployments and running many development en

## Install Docker on Debian

Docker can be installed using Debian's standard packages. For Debian 12 and earlier, install `docker.io`. For Debian 13 and onward, install both `docker.io` and `docker-cli`:
Docker can be installed using Debian's standard packages.

```bash title="Install Docker (Debian standard packages)"
sudo apt-get update

# For Debian 12 and earlier:
sudo apt-get install docker.io

# For Debian 13 and onward:
sudo apt-get install docker.io docker-cli
```

Expand All @@ -39,10 +35,6 @@ To update Docker, run:
```bash title="Update Docker (Debian standard packages)"
sudo apt-get update

# For Debian 12 and earlier:
sudo apt-get install --only-upgrade docker.io

# For Debian 13 and onward:
sudo apt-get install --only-upgrade docker.io docker-cli
```

Expand Down
73 changes: 0 additions & 73 deletions Tutorial/docs/tutorials/pre-requisites/dotenv.md

This file was deleted.

2 changes: 1 addition & 1 deletion Tutorial/docs/tutorials/pre-requisites/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ hide:

# Pre-requisites

First as some tools are required for some elements I recommend you do separate install of those.
First, assert that you are using an enviromnent under Debian 13. Then, as some tools are required for some elements I recommend you do separate install of those.

## System preparation

Expand Down
53 changes: 0 additions & 53 deletions Tutorial/docs/tutorials/pre-requisites/jq.md

This file was deleted.

71 changes: 71 additions & 0 deletions Tutorial/docs/tutorials/pre-requisites/kubectl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
tags:
- Bash
- Kubernetes
- Requirement
---
# kubectl

kubectl is the command-line tool for interacting with Kubernetes clusters. It lets you deploy applications, inspect resources, and manage cluster operations.

## Install kubectl on Debian

Add the Kubernetes APT repository, then install kubectl:

```bash title="Add Kubernetes repository"
cd ~/Tooling

curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.32/deb/Release.key | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.32/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list
```

```bash title="Install kubectl"
sudo apt-get update
sudo apt-get install -y kubectl
```

Verify the installation:

```bash title="Check kubectl version"
kubectl version --client
```

## Add kubectl to ToolingBins

```bash title="Symlink kubectl"
cd ~/ToolingBins
ln -s /usr/bin/kubectl kubectl
```

## Configure kubectl

kubectl uses a `kubeconfig` file (default: `~/.kube/config`) to locate and authenticate to Kubernetes clusters.

To set a specific kubeconfig file for your session:

```bash title="Set KUBECONFIG environment variable"
export KUBECONFIG=~/.kube/my-cluster-config
```

To merge multiple kubeconfig files and switch between contexts:

```bash title="List available contexts"
kubectl config get-contexts
```

```bash title="Switch context"
kubectl config use-context <context-name>
```

## Update kubectl

```bash title="Update kubectl"
sudo apt-get update
sudo apt-get install --only-upgrade kubectl
```

## References

- [kubectl Official Documentation](https://kubernetes.io/docs/reference/kubectl/)
- [Install kubectl on Linux](https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/)
- [kubectl Cheat Sheet](https://kubernetes.io/docs/reference/kubectl/cheatsheet/)
60 changes: 0 additions & 60 deletions Tutorial/docs/tutorials/pre-requisites/npm-node.md

This file was deleted.

Loading
Loading