Update readme.md

This commit is contained in:
EHerzog76 2024-12-09 12:47:58 +01:00 committed by GitHub
parent 73a220884c
commit 82a285be09
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,19 +24,19 @@ Optionaly you can edit the pxe-bootserver-conf.yaml for your needs.
### create a namespace ### create a namespace
``` ```
kubectl create ns pxeboot kubectl create ns network
``` ```
### deploy ### deploy
``` ```
kubectl -n pxeboot apply -f pvc.yaml kubectl -n network apply -f pvc.yaml
kubectl -n pxeboot apply -f pvc-config.yaml kubectl -n network apply -f pvc-config.yaml
kubectl -n pxeboot apply -f pxe-bootserver-conf.yaml kubectl -n network apply -f pxe-bootserver-conf.yaml
kubectl -n pxeboot apply -f serviceaccount.yaml kubectl -n network apply -f serviceaccount.yaml
kubectl -n pxeboot apply -f deployment.yaml kubectl -n network apply -f deployment.yaml
kubectl -n pxeboot apply -f route.yaml kubectl -n network apply -f route.yaml
kubectl -n pxeboot apply -f service.yaml kubectl -n network apply -f service.yaml
``` ```
## Check if netboot.xyz is running ## Check if netboot.xyz is running
@ -44,7 +44,7 @@ kubectl -n pxeboot apply -f service.yaml
### Check Deployment, Service and Pod ### Check Deployment, Service and Pod
``` ```
kubectl -n pxeboot get all kubectl -n network get all
NAME READY STATUS RESTARTS AGE NAME READY STATUS RESTARTS AGE
pod/pxe-bootserver-ds-5559fd7-4ncjb 1/1 Running 0 2d23h pod/pxe-bootserver-ds-5559fd7-4ncjb 1/1 Running 0 2d23h
@ -65,7 +65,7 @@ route.route.openshift.io/pxe-bootserver-route pxeboot.apps.cluster.local
### Check the logs of the Pod ### Check the logs of the Pod
``` ```
kubectl -n pxeboot logs pxe-bootserver-ds-5559fd7-4ncjb kubectl -n network logs pxe-bootserver-ds-5559fd7-4ncjb
_ _ _ _ _ _
_ __ ___| |_| |__ ___ ___ | |_ __ ___ _ ____ _ __ ___| |_| |__ ___ ___ | |_ __ ___ _ ____
@ -109,7 +109,7 @@ messages-log must be reconfigured or have to be removed
## DHCP-Options for TFTP ## DHCP-Options for TFTP
This deployment will need the following DHCP-Options: 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.efi (for UEFI-Boot)
- Option 67 Bootfile Name: netboot.xyz-undionly.kpxe (for BIOS-Boot) - Option 67 Bootfile Name: netboot.xyz-undionly.kpxe (for BIOS-Boot)