Netflix
Git 1 question
- #1Remove File from Entire Git History
A file named
secrets.envcontaining sensitive credentials exists in the repository's commit history. You need to purge this file from the entire history.
Kubernetes 1 question
- #2DNS Based Service Discovery
In namespace
disco, the applicationdiscovery-apprelies on DNS-based discovery of peer pods. The servicediscovery-svcis supposed to return all backend pod IPs, but currently:kubectl exec deploy/testpod -n disco -- nslookup discovery-svc.disco.svc.cluster.localreturns only one IP instead of individual pod IPs. The application cannot discover its peers and fails to form a cluster.