diff --git a/assets/dns/daemonset.yaml b/assets/dns/daemonset.yaml index 3dce24137..6b893dbae 100644 --- a/assets/dns/daemonset.yaml +++ b/assets/dns/daemonset.yaml @@ -30,10 +30,10 @@ spec: port: 8080 scheme: HTTP initialDelaySeconds: 10 - periodSeconds: 10 + periodSeconds: 3 successThreshold: 1 failureThreshold: 3 - timeoutSeconds: 10 + timeoutSeconds: 3 livenessProbe: httpGet: path: /health diff --git a/pkg/manifests/bindata.go b/pkg/manifests/bindata.go index e0f1cf554..784cd088f 100644 --- a/pkg/manifests/bindata.go +++ b/pkg/manifests/bindata.go @@ -2,7 +2,7 @@ // sources: // assets/dns/cluster-role-binding.yaml (223B) // assets/dns/cluster-role.yaml (397B) -// assets/dns/daemonset.yaml (6.128kB) +// assets/dns/daemonset.yaml (6.126kB) // assets/dns/metrics/cluster-role-binding.yaml (279B) // assets/dns/metrics/cluster-role.yaml (246B) // assets/dns/metrics/role-binding.yaml (293B) @@ -118,7 +118,7 @@ func assetsDnsClusterRoleYaml() (*asset, error) { return a, nil } -var _assetsDnsDaemonsetYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x58\x5d\x73\xdb\xb6\xd2\xbe\xf7\xaf\xd8\xd2\x9e\x38\x79\x6b\x4a\x72\x12\xa7\x79\x99\xb8\xa7\xaa\x2c\xd7\x9e\x46\xb6\xc6\x52\x9a\x0b\x8f\x47\x03\x81\x2b\x11\x47\x20\x80\x02\x20\x6d\x8d\xed\xff\x7e\x06\xa4\x28\xf1\x43\x51\x9a\x73\xa6\x33\xcd\x85\x22\x63\x77\x1f\xec\x2e\xf6\x53\x0b\x26\xc2\x00\xce\x08\xc6\x52\x8c\xd0\xee\x11\xc5\xfe\x40\x6d\x98\x14\x01\x10\xa5\x4c\x3b\x3d\xde\xdb\x07\x41\x62\x3c\xca\x3e\x8d\x22\x14\x81\x88\x10\x38\x99\x22\x37\x40\x34\x82\x41\x0b\xc4\x82\x4e\x84\x65\x31\xee\x19\x85\x34\xd8\x03\xb0\x18\x2b\x4e\x2c\xba\xef\x00\xc5\x69\xf6\x1d\x75\xca\x28\x76\x29\x95\x89\xb0\x57\x24\xc6\x00\x42\x61\x56\x54\xa5\x99\xd4\xcc\x2e\x7b\x9c\x18\x93\x13\xcd\xd2\x58\x8c\x7d\x21\x43\xf4\xa9\x66\x96\x51\xc2\x57\xdc\x54\x0a\x4b\x98\x40\x6d\x0a\x74\x3f\xd3\xb4\x8c\x08\xb0\x0f\x2c\x26\x73\x04\x66\xea\xda\x16\x1c\x19\x7d\x98\x70\x3e\x94\x9c\xd1\x65\x00\x97\xb3\x2b\x69\x87\x1a\x0d\x0a\xbb\xe6\xb2\xa8\x63\x26\x88\x65\x52\x0c\xd0\x18\x27\xb2\x62\x3f\x27\x9c\x4f\x09\x5d\x8c\xe5\x27\x39\x37\xd7\xa2\xaf\xb5\xd4\x6b\x39\x2a\xe3\x98\x38\x57\xdf\x82\x47\xa5\xc6\x50\x18\x0f\xee\xd6\x64\xa2\xe7\x26\xa3\xf9\x54\x8a\x99\x77\x04\x5e\x1b\x2d\x6d\xaf\x38\xdb\x3d\xa9\x71\xc6\x38\x96\x45\x52\xc9\x93\x18\x07\xce\x81\x6b\xcb\x37\xb6\x3b\x18\x36\xf7\x73\xa6\x35\x15\x20\x76\xfc\x43\x62\xa3\x00\xca\x37\x94\x38\x34\x92\xf0\x5a\xf0\x65\x00\x56\x27\x1b\x51\x25\x75\xf5\x9e\xb5\xdf\x87\x52\xdb\x00\x4e\xde\x9c\xbc\x29\xa1\x34\x5f\xc0\xbd\xab\xb4\x92\x4a\x1e\xc0\xe7\xb3\xe1\xf7\x23\xf9\x96\xaa\xad\x68\xe3\xde\x06\xcd\x69\xcf\x04\x1a\x33\xd4\x72\x8a\x41\x89\x3f\xb2\x56\xfd\x86\xb6\x7c\x04\xa0\x72\x4f\x44\x48\xb8\x8d\xaa\x94\x4c\x97\xf7\x9d\xf7\x9d\xca\xb1\xa1\x11\x3a\x7d\x2e\xc6\xe3\x61\x89\xc0\x04\xb3\x8c\xf0\x33\xe4\x64\x39\x42\x2a\x45\x68\x02\x38\x2e\x8b\x2a\xd4\x4c\x86\xdb\x69\x26\xa1\x14\x8d\x19\x47\x1a\x4d\x24\x79\x18\xc0\x71\x89\x3a\x23\x8c\x27\x1a\x4b\xd4\xb2\x7b\x5c\x0c\xcb\xc4\x6e\x03\xe6\x2c\xc5\x7f\x88\x2b\xde\x75\x76\xa8\x7c\xf2\x3f\xb8\xe2\xa4\xf4\xf2\x46\x26\x9a\xa2\x29\x9b\xc5\x59\xcc\xac\xa9\x1a\x1a\x63\x2c\xf5\x32\x80\x93\xe3\xd7\x03\x56\x09\xfc\x3f\x13\x34\x75\x6e\xaa\x92\x00\x4e\x3a\xf1\x56\x88\x9f\x3a\x6b\x84\x22\xf1\x16\xc9\x14\x7d\x3d\x25\xd4\x57\x5a\x3e\x2c\xbf\xa3\x00\x65\x35\xa0\x94\x16\xbe\xcf\xe5\xdc\x4a\x63\x43\xd4\xba\x72\x6e\x90\x26\x1a\x7d\xce\x8c\x45\xe1\x93\x30\xd4\x68\xcc\x69\xf0\xff\xc7\x27\x6f\x2b\x7c\x96\x1b\x9f\x32\x15\xa1\xf6\x4d\xc2\x2c\x9a\xd3\xf1\xa7\xd1\xa4\xdf\x3b\xbb\xe8\x4f\x6e\x46\xdd\xc9\x97\xcb\xf1\xc5\xa4\xdb\x1f\x4d\x8e\x5f\xbf\x9f\xfc\xd6\x1b\x4c\x46\x17\xdd\xd7\x27\xef\x8e\x36\x5c\xfd\xde\xd9\x37\xf8\x1a\x38\xbd\x5f\x7b\x7f\x09\x67\x2b\xdf\x0e\xb4\x8a\x65\x89\x32\x56\x23\x89\x4f\x5d\x28\x07\xed\xf6\xf1\xeb\x9f\x5a\x9d\x56\xa7\x75\xec\x9c\xf0\xa6\xdd\xf4\x02\x6a\xeb\xbb\x0a\x7a\x9a\x55\x3d\xcb\x4d\x5b\x69\x96\x12\x8b\xee\x7b\x8b\x6a\xdb\x10\x59\xd1\xfd\x05\x2e\x77\x48\x2e\x70\xf9\x97\x4b\x64\xe5\x7d\x8a\xc2\x16\xa3\xd5\x8c\x9a\xdd\x61\xbc\x23\x34\x8f\xbf\x12\x9a\x6f\x3b\xa5\xe0\xfe\x5a\xaf\xa8\x77\x83\x92\x75\x5f\x53\xd4\xf9\xe6\x5b\xdd\xa2\xd4\x80\xf3\x96\xed\x8c\xe2\x29\xea\x7f\x4c\x3b\xce\x32\xc8\x8d\x18\x52\x58\x7c\xa8\x54\x42\x67\x3f\xe3\x38\xc7\xb0\xd6\x01\x77\x37\xdc\x48\x1a\x6b\xb2\x40\xd9\xd1\x6d\x33\xa6\x92\x13\x50\xa4\x70\xd5\x1d\xf4\x47\xfd\x9b\x3f\xfa\x37\xd9\x58\xd5\xfb\xf4\x79\x34\xee\xdf\x4c\xce\xae\x07\xdd\xcb\xab\x6d\xe3\x55\x21\x8e\x22\x6d\xaa\xe1\x90\x2e\x7b\xfd\x51\x49\x89\x7d\xe8\xb9\xe1\x03\xa4\x86\x7c\x7a\x33\xa8\x88\x26\x16\x43\x70\x15\x04\xe4\xac\x98\xc7\x4c\x45\xea\xea\x7a\xdc\x0f\xe0\x5c\x6a\x10\xf2\xfe\x08\x50\x98\x44\x23\xd8\x08\x0d\x66\x6a\x69\xe4\xc4\xb2\x14\xf3\xb9\xf0\x03\xcc\xa4\x06\x24\x34\xaa\x12\x8e\x2a\x98\x44\x00\xe1\x8c\x18\xb8\x67\x36\x72\x58\x75\x7b\x4d\x32\x9b\xb1\x07\xb8\x67\x9c\x03\xe1\x46\xc2\x14\x81\x84\x21\x86\xad\x12\x4e\x4a\x78\x82\x01\x78\x59\x8c\xf8\x1a\xe7\xcc\x58\xbd\x6c\x49\x85\xc2\x44\x6c\x66\xfd\x1a\xc1\xa4\xd4\x6b\x4c\x62\x25\xd7\xb5\xa7\x4c\xb4\xa7\xc4\x44\xe5\x22\x40\x4b\x7f\x3c\x95\x8d\xf8\xa1\xc9\x0e\xd9\x1b\xf9\x89\x04\xc5\x14\xba\x2e\xb5\x57\xee\x77\x9a\x28\x38\xfc\xb7\x9c\x1a\xf0\x15\x3c\xc1\x83\xab\xf4\xb0\x70\x26\x3e\x3d\x65\x31\xf6\x01\xee\x09\xb3\x1f\x00\x1f\x98\x85\xce\x21\x8c\xfb\x37\x83\x32\xc2\xf5\xb0\x7f\x35\xba\xb8\x3c\x1f\x4f\x06\xdd\x9b\xdf\xfb\x37\xa7\xde\xc6\xd6\x39\x0a\xcc\x5e\xb3\x9a\x6a\x5e\x49\xfc\xe2\x7a\x34\x1e\x4d\xce\x2f\x3f\xf5\x4f\xbd\x4d\x1c\x96\x39\xc6\xfd\xc1\xb0\xc1\xd0\xb2\xb1\xf2\xca\x6a\x5c\x9e\x8f\x4e\x0f\x8f\xe0\x30\xcb\x7a\xf0\x35\xf8\x64\x1d\x3a\xf0\xf1\xe3\x47\xf0\x0e\x1e\x8b\x00\x7c\xae\x48\xee\xc3\x80\x2c\x10\x48\xb6\x13\x48\x4d\xf4\x12\x5c\xaa\x6c\xc2\x40\xf2\x30\x4f\xa1\xec\xfc\xd0\x00\xb1\x56\xb3\x69\x62\xd1\x94\x5f\x9e\x2a\xf0\x67\xe0\xfb\x1b\xaa\x2f\x05\x5f\xba\x8b\x37\x46\x3e\x7b\xee\xef\xb5\x49\x55\x4d\xee\x23\x77\x6f\xee\xf4\x50\x56\x4a\x67\x88\x94\xbb\xc0\xf6\xbb\x60\x52\x3a\x61\xca\x54\xc8\x2e\xbe\x4d\x4a\x81\x09\x07\x5f\xd8\x7d\xfb\xcb\xdd\xb3\xd7\x80\x72\x16\x9f\xa3\xa5\x51\xe1\x1f\xb8\x1c\xc2\x4c\xcb\x18\x28\x4f\x8c\x45\xed\x6a\x23\xb0\x19\xa8\xbc\xa0\xb5\xe0\x0b\x42\xec\x5c\x64\x30\x45\x4d\x38\x58\xcd\xd0\x34\x30\xad\x84\x50\x02\xb3\x01\x5c\x0e\xd3\xb7\x47\xee\xf3\x5d\xf6\xf9\x16\x64\x8a\xda\x8d\xc2\x59\x15\x71\xe7\xeb\x93\x16\x8c\x23\x04\x7b\x2f\x81\x13\x97\xef\x62\x0b\xb0\xb3\xdb\x19\x18\xa2\xe2\x72\x19\xa3\xb0\xab\x1c\xfd\x3d\xd1\x4b\x0d\x52\xb8\x17\x42\x0d\xd7\x0a\xc5\xc8\x12\xba\x80\x97\xd7\xa3\xe1\xf1\x9b\x57\xe0\x83\x8d\xa4\x41\xa7\x97\x90\xb6\x01\x6c\x12\xe5\xfa\xa2\x1b\xf9\x81\x4b\x12\x4e\x09\x27\x82\xa2\x36\x99\x9e\xae\xb1\xb1\xac\x96\x10\x1a\x31\x31\x87\xb3\xab\x11\xd8\x48\xcb\x64\x1e\x65\xaa\xd7\xf0\x68\x1c\x9a\xd3\x97\x87\x21\x9b\x83\x6f\xa1\x0b\xbf\x78\x07\x8f\x9b\x02\xfa\xec\xc1\x8f\x26\x72\xb7\xb9\x07\x4a\xe9\x73\xeb\xe0\xb1\x5a\x5f\x9e\xbd\xc3\x1a\x62\xfe\x6f\x8d\xd8\xed\xfe\x0d\xa0\xf0\xa3\xa5\xea\xef\xd1\xf5\xbf\x45\x7e\x55\x83\x76\x6f\xcf\x5c\x68\x1f\x3c\xfe\xe0\x9c\x7c\xfb\x7f\x77\xcf\x35\x96\x46\x88\x03\x30\x65\x4e\x5f\x1e\xbc\xc4\x94\x70\x77\x59\x26\xc8\xee\x9e\xbd\x57\x75\x78\x70\xb1\x7e\x7b\x0b\xde\xc1\xbf\x3c\xf0\xf1\x4f\xe8\xc0\x8b\x17\x4e\x64\x9f\xa9\x3c\x85\xc0\x17\x08\x1d\xb8\xbb\xfb\xe0\xea\x81\xd8\x62\xf9\x2a\x27\x6f\x57\x56\x79\x77\xa7\xde\xc1\x63\x21\xbe\x85\x7f\xaa\x91\x2c\x1a\xe7\x33\xd6\x30\x4b\xe0\x5e\xe3\xa0\x72\xb2\x0f\x9f\x55\x48\x2c\x96\x9a\x38\x64\x65\x87\xcd\xe0\x1e\x61\x8e\xd6\xb5\x24\x16\x96\x92\xdd\xd4\x00\xbe\x60\xde\xd3\x84\xb4\x90\x34\xc0\xee\x23\x14\xce\x6c\x9d\x4d\x44\xab\x9d\x7c\x8d\x26\x13\xeb\x66\x25\xa9\x81\x28\x06\x89\x20\x29\x61\x9c\x4c\x19\x67\x76\x59\xbb\x66\x64\x09\x47\x40\x91\x55\x0f\xa0\x32\xe1\xa1\x6b\x2a\xc6\xba\xa7\x2d\x5d\xc8\x66\x59\xd5\x2d\x6e\x60\x06\x42\xe4\x68\x31\xdc\xdb\xf6\x66\x8f\xfb\x85\xef\xbf\xfd\x52\xfb\xf0\x6b\xc2\x78\x08\x04\x04\xde\x97\x4a\x7a\x5e\xfd\xca\x36\xbb\xea\x22\x13\x0d\x34\x31\x56\xc6\x6b\xa5\x67\x8c\x5b\xd4\x18\x3a\xb3\x6b\xd8\x73\x8d\x0a\xfc\x14\xbc\x7d\x38\x78\xac\xf7\xc4\xbc\xea\x57\xba\xc0\xcf\x3b\xfa\x40\xae\x6b\x57\x29\xcc\xca\x50\xde\x34\x37\x4a\xb8\x5a\xdf\x1c\x8a\xa0\xd1\x06\x7e\x28\x7b\x66\x4b\x1b\x58\x65\x96\xca\x53\xab\x60\xce\x23\xf8\xee\x79\xab\x00\x00\xd2\x48\x42\x16\xdc\xcf\xb9\x50\xf1\x5f\x33\x93\xe1\x2b\xae\xf8\xb9\x61\x7b\xfd\x92\x46\xdc\x6f\x8b\x7c\xe7\xa3\xf1\xf5\xd9\x75\xb0\x25\x03\x88\x95\x31\xa3\x84\xf3\xa5\x6b\x4b\x24\x95\x2c\x04\x22\x96\xc0\x04\x95\xc2\x64\xbb\xa9\x85\x29\x46\x24\x65\xa5\xc9\xbb\x40\xbd\x41\xc5\xdd\x30\xba\x2d\x22\x62\x19\xb2\x19\xc3\x10\xd2\xfc\xa7\x48\x17\x88\x02\x31\xac\x85\xa7\x6b\x07\xaa\x66\x66\x23\x06\x9e\x9e\x56\x43\xc3\x6e\xbe\xa6\xd5\x05\xaf\x4b\x0e\x97\xb5\x1a\x63\x99\x62\xb8\xb1\x35\x8b\x6a\xaa\xd1\xad\x82\x79\xf6\x64\x2d\x6d\x33\x9a\x00\x95\x6a\x09\x34\x4a\x74\x35\x49\x6a\x25\xc8\x70\x44\x05\xef\x3a\xf0\x22\x9b\x02\x2b\xb4\x44\xb8\xc1\xb2\x39\x8d\x54\x1e\xef\x7b\x57\xc6\x93\x62\x63\x0c\x85\x29\xd6\xa5\x33\x9c\x91\x84\x17\x97\xbb\x49\x72\x84\x1c\xa9\x95\x7a\x03\xb0\x48\xa6\xa8\x05\xba\x91\x8c\xc9\xb6\x34\x01\x70\x26\x92\x87\x9c\xb8\xe2\xca\x97\xa4\xc6\x4f\xb1\xdb\x7f\x8e\xcc\x4f\x07\x44\x05\xa5\x9d\xe8\x8a\xc4\xbb\xf6\x42\x00\x66\x31\xae\x98\xe5\xc3\x02\x97\x01\x14\x3f\x92\x6e\xf9\x55\xab\x46\xda\xb1\xb3\xb9\xa3\x6c\x61\xdb\xab\x63\x6c\x59\xe0\x00\xec\x52\x61\x00\xe7\x4d\xe8\x6d\xdb\xf2\xbe\x5b\x3b\x35\xda\x9d\x16\x5a\xc9\xdd\x38\xcf\xa4\x58\xdb\xb8\x9f\x4d\x45\x2e\x01\x8c\x8b\x3e\x9d\x08\x70\x43\xe2\xf2\xde\x35\x8c\x16\x8c\x73\x09\x04\xc2\x39\x58\xc2\xc4\x5a\x43\x1f\xa4\x72\x24\xa9\x03\xe8\xbb\x2e\x60\xf6\xfe\x13\x00\x00\xff\xff\x6c\xee\x06\x32\xf0\x17\x00\x00") +var _assetsDnsDaemonsetYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x58\x5d\x73\xdb\xb6\xd2\xbe\xf7\xaf\xd8\xd2\x9e\x38\x79\x6b\x4a\x72\x12\xa7\x79\x99\xb8\xa7\xaa\x2c\xd7\x9e\x46\xb6\xc6\x52\x9a\x0b\x8f\x47\x03\x81\x2b\x11\x47\x20\x80\x02\x20\x6d\x8d\xed\xff\x7e\x06\xa4\x28\xf1\x43\x51\x9a\x73\xa6\x33\xcd\x85\x22\x63\x77\x1f\xec\x2e\xf6\x53\x0b\x26\xc2\x00\xce\x08\xc6\x52\x8c\xd0\xee\x11\xc5\xfe\x40\x6d\x98\x14\x01\x10\xa5\x4c\x3b\x3d\xde\xdb\x07\x41\x62\x3c\xca\x3e\x8d\x22\x14\x81\x88\x10\x38\x99\x22\x37\x40\x34\x82\x41\x0b\xc4\x82\x4e\x84\x65\x31\xee\x19\x85\x34\xd8\x03\xb0\x18\x2b\x4e\x2c\xba\xef\x00\xc5\x69\xf6\x1d\x75\xca\x28\x76\x29\x95\x89\xb0\x57\x24\xc6\x00\x42\x61\x56\x54\xa5\x99\xd4\xcc\x2e\x7b\x9c\x18\x93\x13\xcd\xd2\x58\x8c\x7d\x21\x43\xf4\xa9\x66\x96\x51\xc2\x57\xdc\x54\x0a\x4b\x98\x40\x6d\x0a\x74\x3f\xd3\xb4\x8c\x08\xb0\x0f\x2c\x26\x73\x04\x66\xea\xda\x16\x1c\x19\x7d\x98\x70\x3e\x94\x9c\xd1\x65\x00\x97\xb3\x2b\x69\x87\x1a\x0d\x0a\xbb\xe6\xb2\xa8\x63\x26\x88\x65\x52\x0c\xd0\x18\x27\xb2\x62\x3f\x27\x9c\x4f\x09\x5d\x8c\xe5\x27\x39\x37\xd7\xa2\xaf\xb5\xd4\x6b\x39\x2a\xe3\x98\x38\x57\xdf\x82\x47\xa5\xc6\x50\x18\x0f\xee\xd6\x64\xa2\xe7\x26\xa3\xf9\x54\x8a\x99\x77\x04\x5e\x1b\x2d\x6d\xaf\x38\xdb\x3d\xa9\x71\xc6\x38\x96\x45\x52\xc9\x93\x18\x07\xce\x81\x6b\xcb\x37\xb6\x3b\x18\x36\xf7\x73\xa6\x35\x15\x20\x76\xfc\x43\x62\xa3\x00\xca\x37\x94\x38\x34\x92\xf0\x5a\xf0\x65\x00\x56\x27\x1b\x51\x25\x75\xf5\x9e\xb5\xdf\x87\x52\xdb\x00\x4e\xde\x9c\xbc\x29\xa1\x34\x5f\xc0\xbd\xab\xb4\x92\x4a\x1e\xc0\xe7\xb3\xe1\xf7\x23\xf9\x96\xaa\xad\x68\xe3\xde\x06\xcd\x69\xcf\x04\x1a\x33\xd4\x72\x8a\x41\x89\x3f\xb2\x56\xfd\x86\xb6\x7c\x04\xa0\x72\x4f\x44\x48\xb8\x8d\xaa\x94\x4c\x97\xf7\x9d\xf7\x9d\xca\xb1\xa1\x11\x3a\x7d\x2e\xc6\xe3\x61\x89\xc0\x04\xb3\x8c\xf0\x33\xe4\x64\x39\x42\x2a\x45\x68\x02\x38\x2e\x8b\x2a\xd4\x4c\x86\x6b\x5a\xd9\x42\x93\x50\x8a\xc6\x8c\x23\x8d\x26\x92\x3c\x0c\xe0\xb8\x44\x9d\x11\xc6\x13\x8d\x25\x6a\x59\xd6\x85\xb0\x4c\xec\x16\x5c\xce\x52\xfc\x87\x38\xe2\x5d\x67\x87\xc6\x27\xff\x83\x27\x4e\x4a\xef\x6e\x64\xa2\x29\x9a\xb2\x59\x9c\xc5\xcc\x9a\xaa\xa1\x31\xc6\x52\x2f\x03\x38\x39\x7e\x3d\x60\x95\xb0\xff\x33\x41\x53\xe7\xa6\x2a\x09\xe0\xa4\x13\x6f\x85\xf8\xa9\xb3\x46\x28\xd2\x6e\x91\x4c\xd1\xd7\x53\x42\x7d\xa5\xe5\xc3\xf2\x3b\xca\x4f\x56\x01\x4a\x49\xe1\xfb\x5c\xce\xad\x34\x36\x44\xad\x2b\xe7\x06\x69\xa2\xd1\xe7\xcc\x58\x14\x3e\x09\x43\x8d\xc6\x9c\x06\xff\x7f\x7c\xf2\xb6\xc2\x67\xb9\xf1\x29\x53\x11\x6a\xdf\x24\xcc\xa2\x39\x1d\x7f\x1a\x4d\xfa\xbd\xb3\x8b\xfe\xe4\x66\xd4\x9d\x7c\xb9\x1c\x5f\x4c\xba\xfd\xd1\xe4\xf8\xf5\xfb\xc9\x6f\xbd\xc1\x64\x74\xd1\x7d\x7d\xf2\xee\x68\xc3\xd5\xef\x9d\x7d\x83\xaf\x81\xd3\xfb\xb5\xf7\x97\x70\xb6\xf2\xed\x40\xab\x58\x96\x28\x63\x35\x92\xf8\xd4\x85\x72\xd0\x6e\x1f\xbf\xfe\xa9\xd5\x69\x75\x5a\xc7\xce\x09\x6f\xda\x4d\x2f\xa0\xb6\xbe\xab\x9f\xa7\x59\xcd\xb3\xdc\xb4\x95\x66\x29\xb1\xe8\xbe\xb7\xa8\xb6\x0d\x91\x15\xdd\x5f\xe0\x72\x87\xe4\x02\x97\x7f\xb9\x40\x56\xde\xa7\x28\x6b\x31\x5a\xcd\xa8\xd9\x1d\xc6\x3b\x42\xf3\xf8\x2b\xa1\xf9\xb6\x53\x0a\xee\xaf\x75\x8a\x7a\x2f\x28\x59\xf7\x35\x45\x9d\x6f\xbe\xd5\x2b\x4a\xed\x37\x6f\xd8\xce\x28\x9e\xa2\xfe\xc7\x34\xe3\x2c\x83\xdc\x80\x21\x85\xc5\x87\x4a\x25\x74\xf6\x33\x8e\x73\x0c\x6b\xfd\x6f\x77\xbb\x8d\xa4\xb1\x26\x0b\x94\x1d\xbd\x36\x63\x2a\x39\x01\x45\x0a\x57\xdd\x41\x7f\xd4\xbf\xf9\xa3\x7f\x93\x0d\x55\xbd\x4f\x9f\x47\xe3\xfe\xcd\xe4\xec\x7a\xd0\xbd\xbc\xda\x36\x5c\x15\xe2\x28\xd2\xa6\x1a\x0e\xe9\xb2\xd7\x1f\x95\x94\xd8\x87\x9e\x1b\x3d\x40\x6a\xc8\x67\x37\x83\x8a\x68\x62\x31\x04\x57\x41\x40\xce\x8a\x69\xcc\x54\xa4\xae\xae\xc7\xfd\x00\xce\xa5\x06\x21\xef\x8f\x00\x85\x49\x34\x82\x8d\xd0\x60\xa6\x96\x46\x4e\x2c\x4b\x31\x9f\x0a\x3f\xc0\x4c\x6a\x40\x42\xa3\x2a\xe1\xa8\x82\x49\x04\x10\xce\x88\x81\x7b\x66\x23\x87\x55\xb7\xd7\x24\xb3\x19\x7b\x80\x7b\xc6\x39\x10\x6e\x24\x4c\x11\x48\x18\x62\xd8\x2a\xe1\xa4\x84\x27\x18\x80\x97\xc5\x88\xaf\x71\xce\x8c\xd5\xcb\x96\x54\x28\x4c\xc4\x66\xd6\xaf\x11\x4c\x4a\xbd\xc6\x1c\x56\x72\x5d\x7b\xca\x44\x7b\x4a\x4c\x54\x2e\x02\xb4\xf4\xc7\x53\xd9\x88\x1f\x9a\xec\x90\xbd\x91\x9f\x48\x50\x4c\xa1\xeb\x52\x7b\xe5\x7e\xa7\x89\x82\xc3\x7f\xcb\xa9\x01\x5f\xc1\x13\x3c\xb8\x4a\x0f\x0b\x67\xe2\xd3\x53\x16\x63\x1f\xe0\x9e\x30\xfb\x01\xf0\x81\x59\xe8\x1c\xc2\xb8\x7f\x33\x28\x23\x5c\x0f\xfb\x57\xa3\x8b\xcb\xf3\xf1\x64\xd0\xbd\xf9\xbd\x7f\x73\xea\x6d\x6c\x9d\xa3\xc0\xec\x35\xab\xa9\xe6\x95\xc4\x2f\xae\x47\xe3\xd1\xe4\xfc\xf2\x53\xff\xd4\xdb\xc4\x61\x99\x63\xdc\x1f\x0c\x1b\x0c\x2d\x1b\x2b\xaf\xac\xc6\xe5\xf9\xe8\xf4\xf0\x08\x0e\xb3\xac\x07\x5f\x83\x4f\xd6\xa1\x03\x1f\x3f\x7e\x04\xef\xe0\xb1\x08\xc0\xe7\x8a\xe4\x3e\x0c\xc8\x02\x81\x64\x1b\x81\xd4\x44\x2f\xc1\xa5\xca\x26\x0c\x24\x0f\xf3\x14\xca\xce\x0f\x0d\x10\x6b\x35\x9b\x26\x16\x4d\xf9\xe5\xa9\x02\x7f\x06\xbe\xbf\xa1\xfa\x52\xf0\xa5\xbb\x78\x63\xe4\xb3\xe7\xfe\x5e\x9b\x54\xd5\xe4\x3e\x72\xf7\xe6\x4e\x0f\x65\xa5\x74\x86\x48\xb9\x0b\x6c\xbf\x0b\x26\xa5\x13\xa6\x4c\x85\xec\xe2\xdb\xa4\x14\x98\x70\xf0\x85\xdd\xb7\xbf\xdc\x3d\x7b\x0d\x28\x67\xf1\x39\x5a\x1a\x15\xfe\x81\xcb\x21\xcc\xb4\x8c\x81\xf2\xc4\x58\xd4\xae\x36\x02\x9b\x81\xca\x0b\x5a\x0b\xbe\x20\xc4\xce\x45\x06\x53\xd4\x84\x83\xd5\x0c\x4d\x03\xd3\x4a\x08\x25\x30\x1b\xc0\xe5\x30\x7d\x7b\xe4\x3e\xdf\x65\x9f\x6f\x41\xa6\xa8\xdd\x20\x9c\x55\x11\x77\xbe\x3e\x69\xc1\x38\x42\xb0\xf7\x12\x38\x71\xf9\x2e\xb6\x00\x3b\xbb\x9d\x81\x21\x2a\x2e\x97\x31\x0a\xbb\xca\xd1\xdf\x13\xbd\xd4\x20\x85\x7b\x21\xd4\x70\xad\x50\x8c\x2c\xa1\x0b\x78\x79\x3d\x1a\x1e\xbf\x79\x05\x3e\xd8\x48\x1a\x74\x7a\x09\x69\x1b\xc0\x26\x51\xae\x2f\xba\x81\x1f\xb8\x24\xe1\x94\x70\x22\x28\x6a\x93\xe9\xe9\x1a\x1b\xcb\x6a\x09\xa1\x11\x13\x73\x38\xbb\x1a\x81\x8d\xb4\x4c\xe6\x51\xa6\x7a\x0d\x8f\xc6\xa1\x39\x7d\x79\x18\xb2\x39\xf8\x16\xba\xf0\x8b\x77\xf0\xb8\x29\xa0\xcf\x1e\xfc\x68\x22\x77\x9b\x7b\xa0\x94\x3e\xb7\x0e\x1e\xab\xf5\xe5\xd9\x3b\xac\x21\xe6\xff\xd6\x88\xdd\xee\xdf\x00\x0a\x3f\x5a\xaa\xfe\x1e\x5d\xff\x5b\xe4\x57\x35\x68\xf7\xf6\xcc\x85\xf6\xc1\xe3\x0f\xce\xc9\xb7\xff\x77\xf7\x5c\x63\x69\x84\x38\x00\x53\xe6\xf4\xe5\xc1\x4b\x4c\x09\x77\x97\x65\x82\xec\xee\xd9\x7b\x55\x87\x07\x17\xeb\xb7\xb7\xe0\x1d\xfc\xcb\x03\x1f\xff\x84\x0e\xbc\x78\xe1\x44\xf6\x99\xca\x53\x08\x7c\x81\xd0\x81\xbb\xbb\x0f\xae\x1e\x88\x2d\x96\xaf\x72\xf2\x76\x65\x95\x77\x77\xea\x1d\x3c\x16\xe2\x5b\xf8\xa7\x1a\xc9\xa2\x71\x3e\x63\x0d\xb3\x04\xee\x35\x0e\x2a\x27\xfb\xf0\x59\x85\xc4\x62\xa9\x89\x43\x56\x76\xd8\x0c\xee\x11\xe6\x68\x5d\x4b\x62\x61\x29\xd9\x4d\x0d\xe0\x0b\xe6\x3d\x4d\x48\x0b\x49\x03\xec\x3e\x42\xe1\xcc\xd6\xd9\x44\xb4\xda\xc8\xd7\x68\x32\xb1\x6e\x56\x92\x1a\x88\x62\x90\x08\x92\x12\xc6\xc9\x94\x71\x66\x97\xb5\x6b\x46\x96\x70\x04\x14\x59\xf5\x00\x2a\x13\x1e\xba\xa6\x62\xac\x7b\xda\xd2\x85\x6c\x96\x55\xdd\xe2\x06\x66\x20\x44\x8e\x16\xc3\xbd\x6d\x6f\xf6\xb8\x5f\xf8\xfe\xdb\x2f\xb5\x0f\xbf\x26\x8c\x87\x40\x40\xe0\x7d\xa9\xa4\xe7\xd5\xaf\x6c\xb3\xab\x2e\x32\xd1\x40\x13\x63\x65\xbc\x56\x7a\xc6\xb8\x45\x8d\xa1\x33\xbb\x86\x3d\xd7\xa8\xc0\x4f\xc1\xdb\x87\x83\xc7\x7a\x4f\xcc\xab\x7e\xa5\x0b\xfc\xbc\xa3\x0f\xe4\xba\x76\x95\xc2\xac\x0c\xe5\x4d\x73\xa3\x84\xab\xf5\xcd\xa1\x08\x1a\x6d\xe0\x87\xb2\x67\xb6\xb4\x81\x55\x66\xa9\x3c\xb5\x0a\xe6\x3c\x82\xef\x9e\xb7\x0a\x00\x20\x8d\x24\x64\xc1\xfd\x9c\x0b\x15\xff\x35\x33\x19\xbe\xe2\x8a\x9f\x1b\xb6\xd7\x2f\x69\xc4\xfd\xb6\xc8\x77\x3e\x1a\x5f\x9f\x5d\x07\x5b\x32\x80\x58\x19\x33\x4a\x38\x5f\xba\xb6\x44\x52\xc9\x42\x20\x62\x09\x4c\x50\x29\x4c\xb6\x9b\x5a\x98\x62\x44\x52\x56\x9a\xbc\x0b\xd4\x1b\x54\xdc\x0d\xa3\xdb\x22\x22\x96\x21\x9b\x31\x0c\x21\xcd\x7f\x88\x74\x81\x28\x10\xc3\x5a\x78\xba\x76\xa0\x6a\x66\x36\x62\xe0\xe9\x69\x35\x34\xec\xe6\x6b\x5a\x5d\xf0\xba\xe4\x70\x59\xab\x31\x96\x29\x86\x1b\x5b\xb3\xa8\xa6\x1a\xdd\x2a\x98\x67\x4f\xd6\xd2\x36\xa3\x09\x50\xa9\x96\x40\xa3\x44\x57\x93\xa4\x56\x82\x0c\x47\x54\xf0\xae\x03\x2f\xb2\x29\xb0\x42\x4b\x84\x1b\x2c\x9b\xd3\x48\xe5\xf1\xbe\x77\x65\x3c\x29\x36\xc6\x50\x98\x62\x5d\x3a\xc3\x19\x49\x78\x71\xb9\x9b\x24\x47\xc8\x91\x5a\xa9\x37\x00\x8b\x64\x8a\x5a\xa0\x1b\xc9\x98\x6c\x4b\x13\x00\x67\x22\x79\xc8\x89\x2b\xae\x7c\x49\x6a\xfc\x10\xbb\xfd\xc7\xc8\xfc\x74\x40\x54\x50\xda\x89\xae\x48\xbc\x6b\x2f\x04\x60\x16\xe3\x8a\x59\x3e\x2c\x70\x19\x40\xf1\x13\xe9\x96\x5f\xb5\x6a\xa4\x1d\x3b\x9b\x3b\xca\x16\xb6\xbd\x3a\xc6\x96\x05\x0e\xc0\x2e\x15\x06\x70\xde\x84\xde\xb6\x2d\xef\xbb\xb5\x53\xa3\xdd\x69\xa1\x95\xdc\x8d\xf3\x4c\x8a\xb5\x8d\xfb\xd9\x54\xe4\x12\xc0\xb8\xe8\xd3\x89\x00\x37\x24\x2e\xef\x5d\xc3\x68\xc1\x38\x97\x40\x20\x9c\x83\x25\x4c\xac\x35\xf4\x41\x2a\x47\x92\x3a\x80\xbe\xeb\x02\x66\xef\x3f\x01\x00\x00\xff\xff\x1d\x1a\xb0\x04\xee\x17\x00\x00") func assetsDnsDaemonsetYamlBytes() ([]byte, error) { return bindataRead( @@ -133,8 +133,8 @@ func assetsDnsDaemonsetYaml() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "assets/dns/daemonset.yaml", size: 6128, mode: os.FileMode(420), modTime: time.Unix(1, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x3a, 0x10, 0x64, 0xe4, 0x12, 0x1e, 0x52, 0xa5, 0xeb, 0x20, 0xbe, 0x53, 0xbd, 0xad, 0x9b, 0xaa, 0xce, 0x29, 0x63, 0xe4, 0x2, 0xed, 0x4b, 0x75, 0xb2, 0xe8, 0x60, 0x30, 0xac, 0x25, 0xce, 0xd2}} + info := bindataFileInfo{name: "assets/dns/daemonset.yaml", size: 6126, mode: os.FileMode(420), modTime: time.Unix(1, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe9, 0x8a, 0xb1, 0xd6, 0x4b, 0x7, 0x50, 0x24, 0x13, 0x25, 0xf8, 0x27, 0x4a, 0xf6, 0x46, 0xd1, 0xa, 0xb0, 0x30, 0x34, 0x76, 0x87, 0x6a, 0x92, 0x79, 0x7e, 0xe6, 0x9d, 0x28, 0xcd, 0xc6, 0xff}} return a, nil } diff --git a/pkg/operator/controller/controller_dns_daemonset.go b/pkg/operator/controller/controller_dns_daemonset.go index 0841503fa..a4cb11f49 100644 --- a/pkg/operator/controller/controller_dns_daemonset.go +++ b/pkg/operator/controller/controller_dns_daemonset.go @@ -169,17 +169,24 @@ func daemonsetConfigChanged(current, expected *appsv1.DaemonSet) (bool, *appsv1. for _, name := range []string{"dns", "dns-node-resolver", "kube-rbac-proxy"} { var curIndex int var curImage, expImage string + var curReady, expReady corev1.Probe for i, c := range current.Spec.Template.Spec.Containers { if name == c.Name { curIndex = i curImage = current.Spec.Template.Spec.Containers[i].Image + if c.ReadinessProbe != nil { + curReady = *c.ReadinessProbe + } break } } for i, c := range expected.Spec.Template.Spec.Containers { if name == c.Name { expImage = expected.Spec.Template.Spec.Containers[i].Image + if c.ReadinessProbe != nil { + expReady = *c.ReadinessProbe + } break } } @@ -189,9 +196,15 @@ func daemonsetConfigChanged(current, expected *appsv1.DaemonSet) (bool, *appsv1. updated.Spec.Template.Spec.Containers = expected.Spec.Template.Spec.Containers changed = true break - } else if curImage != expImage { - updated.Spec.Template.Spec.Containers[curIndex].Image = expImage - changed = true + } else { + if curImage != expImage { + updated.Spec.Template.Spec.Containers[curIndex].Image = expImage + changed = true + } + if !cmp.Equal(curReady, expReady) { + updated.Spec.Template.Spec.Containers[curIndex].ReadinessProbe = expected.Spec.Template.Spec.Containers[curIndex].ReadinessProbe + changed = true + } } } // TODO: Also check Env? diff --git a/pkg/operator/controller/controller_dns_daemonset_test.go b/pkg/operator/controller/controller_dns_daemonset_test.go index cbfae432f..aa491e86c 100644 --- a/pkg/operator/controller/controller_dns_daemonset_test.go +++ b/pkg/operator/controller/controller_dns_daemonset_test.go @@ -9,6 +9,7 @@ import ( corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/util/intstr" ) func TestDesiredDNSDaemonset(t *testing.T) { @@ -155,6 +156,20 @@ func TestDaemonsetConfigChanged(t *testing.T) { }, expect: true, }, + { + description: "if the readiness probe endpoint changes", + mutate: func(daemonset *appsv1.DaemonSet) { + daemonset.Spec.Template.Spec.Containers[0].ReadinessProbe.Handler.HTTPGet.Path = "/ready" + }, + expect: true, + }, + { + description: "if the readiness probe period changes", + mutate: func(daemonset *appsv1.DaemonSet) { + daemonset.Spec.Template.Spec.Containers[0].ReadinessProbe.PeriodSeconds = 2 + }, + expect: true, + }, } for _, tc := range testCases { @@ -175,6 +190,18 @@ func TestDaemonsetConfigChanged(t *testing.T) { "a", "b", }, + ReadinessProbe: &corev1.Probe{ + PeriodSeconds: 10, + Handler: corev1.Handler{ + HTTPGet: &corev1.HTTPGetAction{ + Path: "/health", + Port: intstr.IntOrString{ + IntVal: int32(8080), + }, + Scheme: "HTTP", + }, + }, + }, }, { Name: "dns-node-resolver",