Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
EHerzog76 authored Dec 9, 2024
1 parent 73a2208 commit 82a285b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions kubernetes/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,27 @@ Optionaly you can edit the pxe-bootserver-conf.yaml for your needs.
### create a namespace

```
kubectl create ns pxeboot
kubectl create ns network
```

### deploy

```
kubectl -n pxeboot apply -f pvc.yaml
kubectl -n pxeboot apply -f pvc-config.yaml
kubectl -n pxeboot apply -f pxe-bootserver-conf.yaml
kubectl -n pxeboot apply -f serviceaccount.yaml
kubectl -n pxeboot apply -f deployment.yaml
kubectl -n pxeboot apply -f route.yaml
kubectl -n pxeboot apply -f service.yaml
kubectl -n network apply -f pvc.yaml
kubectl -n network apply -f pvc-config.yaml
kubectl -n network apply -f pxe-bootserver-conf.yaml
kubectl -n network apply -f serviceaccount.yaml
kubectl -n network apply -f deployment.yaml
kubectl -n network apply -f route.yaml
kubectl -n network apply -f service.yaml
```

## Check if netboot.xyz is running

### Check Deployment, Service and Pod

```
kubectl -n pxeboot get all
kubectl -n network get all
NAME READY STATUS RESTARTS AGE
pod/pxe-bootserver-ds-5559fd7-4ncjb 1/1 Running 0 2d23h
Expand All @@ -65,7 +65,7 @@ route.route.openshift.io/pxe-bootserver-route pxeboot.apps.cluster.local
### Check the logs of the Pod

```
kubectl -n pxeboot logs pxe-bootserver-ds-5559fd7-4ncjb
kubectl -n network logs pxe-bootserver-ds-5559fd7-4ncjb
_ _ _
_ __ ___| |_| |__ ___ ___ | |_ __ ___ _ ____
Expand Down Expand Up @@ -109,7 +109,7 @@ messages-log must be reconfigured or have to be removed
## DHCP-Options for TFTP

This deployment will need the following DHCP-Options:
- Option 66 Boot Server Hostname: tftp.svc-pxeboot.namespace.cluster.local
- Option 66 Boot Server Hostname: tftp.svc-pxeboot.network.cluster.local
- Option 67 Bootfile Name: netboot.xyz.efi (for UEFI-Boot)
- Option 67 Bootfile Name: netboot.xyz-undionly.kpxe (for BIOS-Boot)

0 comments on commit 82a285b

Please sign in to comment.