Automation Suite - How To debug Configuration Changes
The following configuration changes are required for the Automation Suite to function properly.
For some customers, these settings may revert after a reboot, so ensure the following configurations are applied consistently.
Enable IP Forwarding
To enable IP forwarding temporarily:
echo 1 > /proc/sys/net/ipv4/ip_forward
To make this change permanent (it will persist after reboot), edit the sysctl configuration:
echo "net.ipv4.ip_forward = 1" >> /etc/sysctl.conf
sysctl -p
Disable Reverse Path Filtering
To disable reverse path filtering temporarily:
echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter
echo 0 > /proc/sys/net/ipv4/conf/default/rp_filter
To make this change permanent, add the following to /etc/sysctl.conf:
net.ipv4.conf.all.rp_filter = 0
net.ipv4.conf.default.rp_filter = 0
Then apply the changes:
sysctl -p
Disable the swap
sudo swapoff -a
Changes on FSTab
sudo sed -i.bak '/ swap / s/^(.*)$/#1/g' /etc/fstab
systemctl disable swap.target
Check DNS Resolution in CoreDNS Logs
kubectl get pods -n kube-system -l k8s-app=kube-dns
kubectl logs -n kube-system
Testing FQDN Resolution from Different Namespaces
nslookup .production.svc.cluster.local
Validate Cluster DNS Configuration with kubectl get svc
Ensure that the CoreDNS service is running and accessible:
kubectl get svc -n kube-system
You should see an entry like kube-dns with ClusterIP, confirming DNS is set up.
This guide outlines essential configurations for system related changes