Skip to content

Commit

Permalink
chore: update docs
Browse files Browse the repository at this point in the history
- use enforce container sigpolicy
- render deploy config
- add comments
  • Loading branch information
BobyMCbobs committed Feb 21, 2025
1 parent af41062 commit 7599b84
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Boot up Fedora CoreOS 41 on amd64.
Use the following commands as root to switch to the image

``` bash
bootc switch --transport registry ghcr.io/bobymcbobs/ucore-k8s:latest
bootc switch --enforce-container-sigpolicy --transport registry ghcr.io/bobymcbobs/ucore-k8s:latest
```

Reboot
Expand Down Expand Up @@ -71,13 +71,19 @@ kubectl taint node node-role.kubernetes.io/control-plane- --all

# Deploying stuff

Render config (on machine with `kustomize` installed)

``` bash
kustomize build config/ > ./deploy-config.yaml
```

Apply it

``` bash
until kustomize build config/ | kubectl apply -f -; do sleep 1s; done
kubectl apply -f ./deploy-config.yaml
```

Patch Kourier's ExternalIPs
Patch Kourier's ExternalIPs (grossly on target machine; this is a test)

``` bash
kubectl -n knative-serving patch svc/kourier -p "{\"spec\":{\"externalIPs\":[\"$(hostname -I | awk '{print $1}')\"]}}"
Expand Down

0 comments on commit 7599b84

Please sign in to comment.