Skip to content

Instantly share code, notes, and snippets.

@ihcsim
Last active January 31, 2022 23:40
Show Gist options
  • Save ihcsim/161c33fc4697b99ce1309c617ba25235 to your computer and use it in GitHub Desktop.
Save ihcsim/161c33fc4697b99ce1309c617ba25235 to your computer and use it in GitHub Desktop.
$ go run main.go
updated: {name:nginx namespace:ingress endpoints:[192.168.0.1 192.168.0.2 192.168.0.40] mappings:map[pod-0:192.168.0.1 pod-1:192.168.0.2 pod-2:192.168.0.40]}
original: {name:nginx namespace:default endpoints:[192.168.0.1 192.168.0.2] mappings:map[pod-0:192.168.0.1 pod-1:192.168.0.2 pod-2:192.168.0.40]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment