Kubernetes Pod Mode
You can create and delete WAAS Booster pods using kubectl. After a pod is created, the WAAS Booster service is automatically started. After the pod is deleted, the WAAS Booster service is automatically stopped.
Assume that the WAAS Booster pod configuration file is waasbooster.yaml. The following uses this file as an example to describe common operations on Kubernetes pods.
All the following operations are performed on the primary node.
- Create a WAAS Booster pod.
kubectl apply -f waasbooster.yaml
- Delete the WAAS Booster pod.
kubectl delete -f waasbooster.yaml
- Check the adjustment actions of WAAS Booster on a container.
Assume that the target pod is waasbooster-daemon-rhwdz.
- If continuous monitoring is required, you can enter the container to view logs.
- Access the container.
kubectl exec -it waasbooster-daemon-rhwdz bash
- View logs.
1tail -f /var/log/waasbooster.log
- Access the container.
- If you want to view the adjustment actions temporarily, you can view the Kubernetes logs.
kubectl logs waasbooster-daemon-rhwdz
- If continuous monitoring is required, you can enter the container to view logs.
Parent topic: Tool Usage