Verification Steps
Before proceeding with migration, verify both clusters:
Source Cluster Verification:
# Verify K3s version
kubectl version --output=yaml | grep gitVersion
# Check service health
kubectl get pods --all-namespaces
# Verify data accessibility
kubectl exec -it <postgresql-pod> -- psql -U gv -c '\l'
curl -u elastic:<password> http://localhost:9200/_cluster/health
kubectl exec -it <consul-pod> -- consul members
Target Cluster Verification:
# Confirm K3s version matches source
kubectl version --output=yaml | grep gitVersion
# Verify product installation
kubectl get apps
# Check service readiness
kubectl get pods --all-namespaces