Skip to content

Commit 3111f71

Browse files
update pre-requisites files
1 parent 852b854 commit 3111f71

12 files changed

Lines changed: 128 additions & 298 deletions

File tree

.github/workflows/update_documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ jobs:
1818
run: |
1919
git config --local user.email "github-actions[bot]@users.noreply.github.com"
2020
git config --local user.name "github-actions[bot]"
21-
- run: cd Tutorial; mike deploy --push 0.0.1
21+
- run: cd Tutorial; mike deploy --push 5.0.0

Tutorial/docs/tutorials/pre-requisites/babylon.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ cd ~/Tooling
1717
git clone git@github.com:Cosmo-Tech/Babylon.git Babylon
1818

1919
cd Babylon
20-
git checkout 4.2.3
20+
git checkout 5.0.0
2121

2222
python3 -m venv .venv
2323

Tutorial/docs/tutorials/pre-requisites/coal.md

Lines changed: 0 additions & 58 deletions
This file was deleted.

Tutorial/docs/tutorials/pre-requisites/cosmotech-sdk.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ The installer does not allow for inplace updates, to make version change of your
2424

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

27-
- [SDK User Guide](https://portal.cosmotech.com/docs//documentation/Studio_Guide_Portal/11.3/Content/WhatsNew.htm)
28-
- [Official installation guide](https://portal.cosmotech.com/docs//documentation/Studio_Guide_Portal/11.3/Content/SDK_OK/Studio%20Installation%20Guide.htm)
27+
- [SDK User Guide](https://portal.cosmotech.com/docs//documentation/Studio_Guide_Portal/12.0/Content/WhatsNew.htm)
28+
- [Official installation guide](https://portal.cosmotech.com/docs//documentation/Studio_Guide_Portal/12.0/Content/SDK_OK/Studio%20Installation%20Guide.htm)

Tutorial/docs/tutorials/pre-requisites/docker.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,11 @@ Docker is required for containerized deployments and running many development en
1111

1212
## Install Docker on Debian
1313

14-
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`:
14+
Docker can be installed using Debian's standard packages.
1515

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

19-
# For Debian 12 and earlier:
20-
sudo apt-get install docker.io
21-
22-
# For Debian 13 and onward:
2319
sudo apt-get install docker.io docker-cli
2420
```
2521

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

42-
# For Debian 12 and earlier:
43-
sudo apt-get install --only-upgrade docker.io
44-
45-
# For Debian 13 and onward:
4638
sudo apt-get install --only-upgrade docker.io docker-cli
4739
```
4840

Tutorial/docs/tutorials/pre-requisites/dotenv.md

Lines changed: 0 additions & 73 deletions
This file was deleted.

Tutorial/docs/tutorials/pre-requisites/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ hide:
66

77
# Pre-requisites
88

9-
First as some tools are required for some elements I recommend you do separate install of those.
9+
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.
1010

1111
## System preparation
1212

Tutorial/docs/tutorials/pre-requisites/jq.md

Lines changed: 0 additions & 53 deletions
This file was deleted.
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
tags:
3+
- Bash
4+
- Kubernetes
5+
- Requirement
6+
---
7+
# kubectl
8+
9+
kubectl is the command-line tool for interacting with Kubernetes clusters. It lets you deploy applications, inspect resources, and manage cluster operations.
10+
11+
## Install kubectl on Debian
12+
13+
Add the Kubernetes APT repository, then install kubectl:
14+
15+
```bash title="Add Kubernetes repository"
16+
cd ~/Tooling
17+
18+
curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.32/deb/Release.key | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
19+
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
20+
```
21+
22+
```bash title="Install kubectl"
23+
sudo apt-get update
24+
sudo apt-get install -y kubectl
25+
```
26+
27+
Verify the installation:
28+
29+
```bash title="Check kubectl version"
30+
kubectl version --client
31+
```
32+
33+
## Add kubectl to ToolingBins
34+
35+
```bash title="Symlink kubectl"
36+
cd ~/ToolingBins
37+
ln -s /usr/bin/kubectl kubectl
38+
```
39+
40+
## Configure kubectl
41+
42+
kubectl uses a `kubeconfig` file (default: `~/.kube/config`) to locate and authenticate to Kubernetes clusters.
43+
44+
To set a specific kubeconfig file for your session:
45+
46+
```bash title="Set KUBECONFIG environment variable"
47+
export KUBECONFIG=~/.kube/my-cluster-config
48+
```
49+
50+
To merge multiple kubeconfig files and switch between contexts:
51+
52+
```bash title="List available contexts"
53+
kubectl config get-contexts
54+
```
55+
56+
```bash title="Switch context"
57+
kubectl config use-context <context-name>
58+
```
59+
60+
## Update kubectl
61+
62+
```bash title="Update kubectl"
63+
sudo apt-get update
64+
sudo apt-get install --only-upgrade kubectl
65+
```
66+
67+
## References
68+
69+
- [kubectl Official Documentation](https://kubernetes.io/docs/reference/kubectl/)
70+
- [Install kubectl on Linux](https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/)
71+
- [kubectl Cheat Sheet](https://kubernetes.io/docs/reference/kubectl/cheatsheet/)

Tutorial/docs/tutorials/pre-requisites/npm-node.md

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)