Skip to content

Commit 4499a9e

Browse files
fix linting issues
Signed-off-by: Jacob Weinstock <[email protected]>
1 parent aeebfca commit 4499a9e

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

docs/quickstarts/KUBERNETES.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,23 @@ You will need to bring your own hardware (machine) for this guide.
1515

1616
1. Create a Kubernetes cluster with K3D
1717

18-
```bash
19-
k3d cluster create --network host --no-lb --k3s-arg "--disable=traefik,servicelb,metrics-server,local-storage"
20-
# `--network host` : host network is used to allow the load balancer to advertise a layer 2 address.
21-
# `--no-lb` : the K3D built in load balancer is disabled so we don't have conflicts with the stack load balancer.
22-
# `--k3s-arg "--disable=traefik,servicelb,metrics-server,local-storage"` : disable the built in K3S load balancer, metrics server, and local storage.
23-
```
18+
```bash
19+
k3d cluster create --network host --no-lb --k3s-arg "--disable=traefik,servicelb,metrics-server,local-storage"
20+
# `--network host` : host network is used to allow the load balancer to advertise a layer 2 address.
21+
# `--no-lb` : the K3D built in load balancer is disabled so we don't have conflicts with the stack load balancer.
22+
# `--k3s-arg "--disable=traefik,servicelb,metrics-server,local-storage"` : disable the built in K3S load balancer, metrics server, and local storage.
23+
```
2424

2525
1. Install the Tinkerbell stack Helm chart
2626

27-
```bash
28-
trusted_proxies=$(kubectl get nodes -o jsonpath='{.items[*].spec.podCIDR}' | tr ' ' ',')
29-
LB_IP=<specify a Load balancer IP>
30-
STACK_CHART_VERSION=0.4.2
31-
helm install tink-stack oci://ghcr.io/tinkerbell/charts/stack --version "$STACK_CHART_VERSION" --create-namespace --namespace tink-system --wait --set "smee.trustedProxies={${trusted_proxies}}" --set "hegel.trustedProxies={${trusted_proxies}}" --set "stack.loadBalancerIP=$LB_IP" --set "smee.publicIP=$LB_IP"
32-
```
27+
```bash
28+
trusted_proxies=$(kubectl get nodes -o jsonpath='{.items[*].spec.podCIDR}' | tr ' ' ',')
29+
LB_IP=<specify a Load balancer IP>
30+
STACK_CHART_VERSION=0.4.2
31+
helm install tink-stack oci://ghcr.io/tinkerbell/charts/stack --version "$STACK_CHART_VERSION" --create-namespace --namespace tink-system --wait --set "smee.trustedProxies={${trusted_proxies}}" --set "hegel.trustedProxies={${trusted_proxies}}" --set "stack.loadBalancerIP=$LB_IP" --set "smee.publicIP=$LB_IP"
32+
```
3333

34-
> These instructions above should be checked against the Charts repo before using. See the [README.md](https://github.com/tinkerbell/charts/tree/main/tinkerbell/stack) in the Helm chart repository for more information on how to use the Helm chart.
34+
> These instructions above should be checked against the Charts repo before using. See the [README.md](https://github.com/tinkerbell/charts/tree/main/tinkerbell/stack) in the Helm chart repository for more information on how to use the Helm chart.
3535
3636
1. Verify the stack is up and running
3737

@@ -42,18 +42,18 @@ You will need to bring your own hardware (machine) for this guide.
4242

4343
1. Download and convert a cloud image to a raw image
4444

45-
```bash
46-
kubectl apply -f https://raw.githubusercontent.com/tinkerbell/sandbox/main/vagrant/ubuntu-download.yaml
47-
# This will download and convert the Ubuntu Jammy 22.04 cloud image.
48-
```
45+
```bash
46+
kubectl apply -f https://raw.githubusercontent.com/tinkerbell/sandbox/main/vagrant/ubuntu-download.yaml
47+
# This will download and convert the Ubuntu Jammy 22.04 cloud image.
48+
```
4949

5050
1. Create and/or customize Hardware, Template, and Workflow objects and apply them to the cluster. You can use the Hardware, Template, and Workflow in this repo, in the `vagrant/` directory, as a base from which to start.
5151

52-
```bash
53-
kubectl apply -f my-hardware.yaml
54-
kubectl apply -f my-template.yaml
55-
kubectl apply -f my-workflow.yaml
56-
```
52+
```bash
53+
kubectl apply -f my-hardware.yaml
54+
kubectl apply -f my-template.yaml
55+
kubectl apply -f my-workflow.yaml
56+
```
5757

5858
1. Start the machine provision process by rebooting, into a netbooting state, the machine you have specified in the Hardware object above.
5959

0 commit comments

Comments
 (0)