diff --git a/assets/dns/daemonset.yaml b/assets/dns/daemonset.yaml index 4a0175b28..592b2d48b 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 8751e5259..846025752 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.406kB) +// assets/dns/daemonset.yaml (6.404kB) // 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\x59\xff\x53\xdb\xc6\x12\xff\x9d\xbf\x62\x2b\x78\x21\x69\x10\x98\x24\xa4\x79\x4a\xe8\xab\x0b\xa6\x30\x0d\xe0\xc1\x4e\xf3\x03\xc3\x63\xce\xa7\xb5\x75\xcf\xa7\xbb\xeb\xdd\x49\xa0\x01\xfe\xf7\x37\x77\xb2\x6c\xc9\x32\x6e\x33\xef\xcb\xb4\x3f\x50\xb8\xdd\xfd\xdc\xee\xde\x7e\x55\xa6\x4c\xc4\x11\x1c\x13\x4c\xa5\x18\xa0\xdd\x20\x8a\xfd\x86\xda\x30\x29\x22\x20\x4a\x99\xbd\x7c\x7f\x63\x13\x04\x49\x71\xc7\xff\x34\x8a\x50\x04\x22\x62\xe0\x64\x84\xdc\x00\xd1\x08\x06\x2d\x10\x0b\x3a\x13\x96\xa5\xb8\x61\x14\xd2\x68\x03\xc0\x62\xaa\x38\xb1\xe8\x7e\x07\xa8\x4e\xfd\xef\xa8\x73\x46\xb1\x4b\xa9\xcc\x84\xbd\x20\x29\x46\x10\x0b\x33\xa3\x2a\xcd\xa4\x66\xb6\x38\xe2\xc4\x98\x92\x68\x0a\x63\x31\x0d\x85\x8c\x31\xa4\x9a\x59\x46\x09\x9f\x71\x53\x29\x2c\x61\x02\xb5\xa9\xd0\x43\xaf\x69\x1d\x11\x60\x13\x58\x4a\x26\x08\xcc\x2c\x6b\x5b\x71\x78\x7a\x3f\xe3\xbc\x2f\x39\xa3\x45\x04\x67\xe3\x0b\x69\xfb\x1a\x0d\x0a\x3b\xe7\xb2\xa8\x53\x26\x88\x65\x52\x9c\xa3\x31\x4e\x64\xc6\x7e\x42\x38\x1f\x11\x3a\x1d\xca\xcf\x72\x62\x2e\x45\x4f\x6b\xa9\xe7\x72\x54\xa6\x29\x71\xae\xbe\x86\x80\x4a\x8d\xb1\x30\x01\xdc\xcc\xc9\x44\x4f\x8c\xa7\x85\x54\x8a\x71\xb0\x03\xc1\x1e\x5a\xba\x37\xe3\xdc\x3b\x92\x1a\xc7\x8c\x63\x5d\x24\x97\x3c\x4b\xf1\xdc\x39\x70\x6e\xf9\xc2\x76\x07\xc3\x26\x61\xc9\x34\xa7\x02\xa4\x8e\xbf\x4f\x6c\x12\x41\xfd\x86\x1a\x87\x46\x12\x5f\x0a\x5e\x44\x60\x75\xb6\x10\x55\x52\x37\xef\x99\xfb\xbd\x2f\xb5\x8d\xe0\xe0\xed\xc1\xdb\x1a\x4a\xfb\x05\xdc\xbb\x4a\x2b\xa9\xe4\x11\x7c\x39\xee\x7f\x3b\x52\x68\xa9\x5a\x89\x36\x3c\x5a\xa0\x39\xed\x99\x40\x63\xfa\x5a\x8e\x30\xaa\xf1\x27\xd6\xaa\x5f\xd0\xd6\x8f\x00\x54\xe9\x89\x04\x09\xb7\x49\x93\xe2\x75\xf9\xd0\xf9\xd0\x69\x1c\x1b\x9a\xa0\xd3\xe7\x74\x38\xec\xd7\x08\x4c\x30\xcb\x08\x3f\x46\x4e\x8a\x01\x52\x29\x62\x13\xc1\x7e\x5d\x54\xa1\x66\x32\x5e\x4d\x33\x19\xa5\x68\xcc\x30\xd1\x68\x12\xc9\xe3\x08\xf6\x6b\xd4\x31\x61\x3c\xd3\x58\xa3\xd6\xdd\xe3\x62\x58\x66\x76\x15\x30\x67\x39\xfe\x45\x5c\xf1\xbe\xb3\x46\xe5\x83\xff\xc0\x15\x07\xb5\x97\x37\x32\xd3\x14\x4d\xdd\x2c\xce\x52\x66\x4d\xd3\xd0\x14\x53\xa9\x8b\x08\x0e\xf6\xdf\x9c\xb3\x46\xe0\xff\x9e\xa1\x59\xe6\xa6\x2a\x8b\xe0\xa0\x93\xae\x84\xf8\xa1\x33\x47\xa8\x12\x6f\x9a\x8d\x30\xd4\x23\x42\x43\xa5\xe5\x7d\xf1\x0d\x05\xc8\xd7\x80\x5a\x5a\x84\x21\x97\x13\x2b\x8d\x8d\x51\xeb\xc6\xb9\x41\x9a\x69\x0c\x39\x33\x16\x45\x48\xe2\x58\xa3\x31\x87\xd1\xdf\xf7\x0f\xde\x35\xf8\x2c\x37\x21\x65\x2a\x41\x1d\x9a\x8c\x59\x34\x87\xc3\xcf\x83\xdb\xde\xd1\xf1\x69\xef\xf6\x6a\xd0\xbd\xfd\x7a\x36\x3c\xbd\xed\xf6\x06\xb7\xfb\x6f\x3e\xdc\xfe\x72\x74\x7e\x3b\x38\xed\xbe\x39\x78\xbf\xb3\xe0\xea\x1d\x1d\xff\x01\x5f\x0b\xe7\xe8\xe7\xa3\x3f\x85\xb3\x92\x6f\x0d\x5a\xc3\xb2\x4c\x19\xab\x91\xa4\x87\x2e\x94\xa3\xbd\xbd\xfd\x37\x3f\xec\x76\x76\x3b\xbb\xfb\xce\x09\x6f\xf7\xda\x5e\x40\x6d\x43\x57\x41\x0f\x7d\xd5\xb3\xdc\xec\x29\xcd\x72\x62\xd1\xfd\xbe\x4b\xb5\x6d\x89\xcc\xe8\xe1\x14\x8b\x35\x92\x53\x2c\xfe\x74\x89\x6c\xbc\x4f\x55\xd8\x52\xb4\x9a\x51\xb3\x3e\x8c\xd7\x84\xe6\xfe\x33\xa1\xf9\xae\x53\x0b\xee\xe7\x7a\xc5\x72\x37\xa8\x59\xf7\x9c\xa2\xce\x37\x7f\xd4\x2d\x6a\x0d\xb8\x6c\xd9\xce\x28\x9e\xa3\xfe\xcb\xb4\x63\x9f\x41\x6e\xc4\x90\xc2\xe2\x7d\xa3\x12\x3a\xfb\x19\xc7\x09\xc6\x4b\x1d\x70\x7d\xc3\x4d\xa4\xb1\xc6\x07\xca\x9a\x6e\xeb\x99\x6a\x4e\x40\x91\xc3\x45\xf7\xbc\x37\xe8\x5d\xfd\xd6\xbb\xf2\x63\xd5\xd1\xe7\x2f\x83\x61\xef\xea\xf6\xf8\xf2\xbc\x7b\x76\xb1\x6a\xbc\xaa\xc4\x51\xe4\x6d\x35\x1c\xd2\xd9\x51\x6f\x50\x53\x62\x13\x8e\xdc\xf0\x01\x52\x43\x39\xbd\x19\x54\x44\x13\x8b\x31\xb8\x0a\x02\x72\x5c\xcd\x63\xa6\x21\x75\x71\x39\xec\x45\x70\x22\x35\x08\x79\xb7\x03\x28\x4c\xa6\x11\x6c\x82\x06\xbd\x5a\x1a\x39\xb1\x2c\xc7\x72\x2e\xfc\x08\x63\xa9\x01\x09\x4d\x9a\x84\x9d\x06\x26\x11\x40\x38\x23\x06\xee\x98\x4d\x1c\xd6\xb2\xbd\x26\x1b\x8f\xd9\x3d\xdc\x31\xce\x81\x70\x23\x61\x84\x40\xe2\x18\xe3\xdd\x1a\x4e\x4e\x78\x86\x11\x04\x3e\x46\x42\x8d\x13\x66\xac\x2e\x76\xa5\x42\x61\x12\x36\xb6\xe1\x12\xc1\xe4\x34\x68\x4d\x62\x35\xd7\xed\x8d\x98\xd8\x1b\x11\x93\xd4\x8b\x00\xad\xfd\xf1\x58\x37\xe2\xbb\x36\x3b\xf8\x37\x0a\x33\x09\x8a\x29\x74\x5d\x6a\xa3\xde\xef\x34\x51\xb0\xfd\x2f\x39\x32\x10\x2a\x78\x84\x7b\x57\xe9\x61\xea\x4c\x7c\x7c\xf4\x31\xf6\x11\xee\x08\xb3\x1f\x01\xef\x99\x85\xce\x36\x0c\x7b\x57\xe7\x75\x84\xcb\x7e\xef\x62\x70\x7a\x76\x32\xbc\x3d\xef\x5e\xfd\xda\xbb\x3a\x0c\x16\xb6\x4e\x50\xa0\x7f\xcd\x66\xaa\x05\x35\xf1\xd3\xcb\xc1\x70\x70\x7b\x72\xf6\xb9\x77\x18\x2c\xe2\xb0\xce\x31\xec\x9d\xf7\x5b\x0c\xbb\x36\x55\x41\x5d\x8d\xb3\x93\xc1\xe1\xf6\x0e\x6c\xfb\xac\x87\x50\x43\x48\xe6\xa1\x03\x9f\x3e\x7d\x82\x60\xeb\xa1\x0a\xc0\xa7\x86\xe4\x26\x9c\x93\x29\x02\xf1\x3b\x81\xd4\x44\x17\xe0\x52\x65\x11\x06\x92\xc7\x65\x0a\xf9\xf3\x6d\x03\xc4\x5a\xcd\x46\x99\x45\x53\x7f\x79\xaa\x20\x1c\x43\x18\x2e\xa8\xa1\x14\xbc\x70\x17\x2f\x8c\x7c\x0a\xdc\xdf\x73\x93\x9a\x9a\xdc\x25\xee\xde\xd2\xe9\xb1\x6c\x94\xce\x18\x29\x77\x81\x1d\x76\xc1\xe4\xf4\x96\x29\xd3\x20\xbb\xf8\x36\x39\x05\x26\x1c\x7c\x65\xf7\xf5\x4f\x37\x4f\x41\x0b\xca\x59\x7c\x82\x96\x26\x95\x7f\xe0\xac\x0f\x63\x2d\x53\xa0\x3c\x33\x16\xb5\xab\x8d\xc0\xc6\xa0\xca\x82\xb6\x0b\x5f\x11\x52\xe7\x22\x83\x39\x6a\xc2\xc1\x6a\x86\xa6\x85\x69\x25\xc4\x12\x98\x8d\xe0\xac\x9f\xbf\xdb\x71\x3f\xdf\xfb\x9f\xef\x40\xe6\xa8\xdd\x28\xec\xab\x88\x3b\x9f\x9f\xec\xc2\x30\x41\xb0\x77\x12\x38\x71\xf9\x2e\x56\x00\x3b\xbb\x9d\x81\x31\x2a\x2e\x8b\x14\x85\x9d\xe5\xe8\xaf\x99\x2e\x34\x48\xe1\x5e\x08\x35\x5c\x2a\x14\x03\x4b\xe8\x14\x5e\x5e\x0e\xfa\xfb\x6f\x5f\x41\x08\x36\x91\x06\x9d\x5e\x42\xda\x16\xb0\xc9\x94\xeb\x8b\x6e\xe4\x07\x2e\x49\x3c\x22\x9c\x08\x8a\xda\x78\x3d\x5d\x63\x63\xbe\x96\x10\x9a\x30\x31\x81\xe3\x8b\x01\xd8\x44\xcb\x6c\x92\x78\xd5\x97\xf0\x68\x1a\x9b\xc3\x97\xdb\x31\x9b\x40\x68\xa1\x0b\x3f\x05\x5b\x0f\x8b\x02\xfa\x14\xc0\x6b\x93\xb8\xdb\xdc\x03\xe5\xf4\x69\x77\xeb\xa1\x59\x5f\x9e\x82\xc7\x89\x46\x05\x61\x0e\xc1\x3f\x3f\x06\xdb\x4b\xf0\xe5\x7f\x73\xf8\x6e\xf7\x7f\x7d\x03\xbc\xb6\x54\xc1\x6b\x8d\x56\x17\x87\x9d\xff\x83\x39\xff\xdd\xfb\x5e\x2d\x5d\xe8\x22\x88\xb9\x04\xd9\x7a\xf8\xce\x3d\xd5\xf5\xf7\x37\x4f\x4b\x2c\xad\x44\x01\x60\xca\x1c\xbe\xdc\x7a\x89\x39\xe1\xee\x66\x2f\xc8\x6e\x9e\x82\x57\xcb\xf0\xe0\x32\xe6\xfa\x1a\x82\xad\x7f\x04\x10\xe2\xef\xd0\x81\x17\x2f\x9c\xc8\x26\x53\x65\x22\x42\x28\x10\x3a\x70\x73\xf3\xd1\x55\x15\xb1\xc2\x1f\xb3\xcc\xbe\x9e\x99\x18\xdc\x1c\x06\x5b\x0f\x95\xf8\x0a\xfe\x91\x46\x32\x6d\x9d\x8f\x59\xcb\x2c\x81\x1b\xad\x83\xc6\xc9\x26\x7c\x51\x31\xb1\x58\x1b\x05\xc0\x17\x2f\x36\x86\x3b\x84\x09\x5a\xd7\xd8\x58\x5c\x2b\x19\x66\x09\xe0\x2b\x96\x9d\x51\x48\x0b\x59\x0b\xec\x2e\x41\xe1\xcc\xd6\x7e\xae\x9a\x6d\xf6\x73\x34\x99\x59\x37\x71\x49\x0d\x44\x31\xc8\x04\xc9\x09\xe3\x64\xc4\x38\xb3\xc5\xd2\x35\x03\x4b\x38\x02\x0a\x5f\x83\x80\xca\x8c\xc7\xae\x35\x19\xeb\x9e\xb6\x76\x21\x1b\xfb\xda\x5d\xdd\xc0\x0c\xc4\xc8\xd1\x62\xbc\xd1\x7e\xb3\x50\xcc\xa2\xca\x7b\xff\xfb\x9b\xf0\x29\x78\xee\x99\x36\xe1\xe7\x8c\xf1\x18\x08\x08\xbc\xab\x75\x85\xb2\x80\xd6\x0d\x76\x05\x4a\x66\x1a\x68\x66\xac\x4c\xe7\x1a\x8f\x19\xb7\xa8\x31\x76\x36\x2f\x61\xcf\xc3\x77\x13\xb6\x1e\x96\xdb\x6a\xd9\x38\x1a\x8d\xe4\xc7\x35\xad\xa4\xd4\xb5\xab\x14\xfa\x4a\x56\xf6\xdd\x85\x12\xae\x5d\xb4\xe7\x2a\x68\x75\x92\xef\x2a\xa7\x3c\xd3\x49\x66\x69\xa5\xca\xbc\xaa\x98\xcb\xf0\xbd\x79\x5a\x29\x00\x80\x34\x91\xe0\x23\xfb\xa9\x14\xaa\xfe\xd7\xce\x69\x78\xc6\x15\x3f\xb6\x6c\x5f\xbe\xa4\x15\xf4\xab\xc2\xde\xf9\x68\x78\x79\x7c\x19\xad\x08\x7f\x62\x65\xca\x28\xe1\xbc\x70\x9d\x8d\xe4\x92\xc5\x40\x44\x01\x4c\x50\x29\x8c\x5f\x6f\x2d\x8c\x30\x21\x39\xab\x0d\xef\x15\xea\x15\x2a\xee\xe6\xd9\x55\x11\x91\xca\x98\x8d\x19\xc6\x90\x97\x5f\x33\x5d\x14\x0a\xc4\x78\x29\x36\x5d\x47\x51\x4b\x66\xb6\x62\xe0\xf1\x71\x36\x77\xac\xe7\x6b\x5b\x5d\xf1\xba\xcc\x70\x29\xab\x31\x95\x39\xc6\x0b\x5b\x7d\x54\x53\x8d\x6e\x9b\x2c\x53\xc7\x77\xc5\xc5\x74\x03\x54\xaa\x02\x68\x92\xe9\x66\x92\x2c\xd5\x1f\xc3\x11\x15\xbc\xef\xc0\x0b\x3f\x48\x36\x68\x99\x70\xb3\x69\x7b\xa0\x69\x3c\xde\xb7\x6e\x9d\x07\xd5\xd2\x19\x0b\x53\x6d\x5c\xc7\x38\x26\x19\xaf\x2e\x77\xc3\xe8\x00\x39\x52\x2b\xf5\x02\x60\x9a\x8d\x50\x0b\x74\x53\x1d\x93\x7b\xd2\x44\xc0\x99\xc8\xee\x4b\xe2\x8c\xab\xdc\xb3\x5a\x5f\x73\x57\x7f\xd1\x2c\x4f\xcf\x89\x8a\x6a\x6b\xd5\x05\x49\xd7\xad\x96\x00\xcc\x62\xda\x30\x2b\x84\x29\x16\x11\x54\xdf\x59\x57\x7c\x18\x5b\x22\xad\x59\xfb\xdc\x91\xdf\xf9\x36\x96\x31\x56\xec\x80\x00\xb6\x50\x18\xc1\x49\x1b\x7a\xd5\xc2\xbd\xe9\x36\x57\x8d\x76\xad\x85\x56\x72\xb7\x11\x30\x29\xe6\x36\x6e\xfa\xc1\xca\x25\x80\x71\xd1\xa7\x33\x01\x6e\xce\x2c\xee\x5c\xb7\xd8\x85\x61\x29\x81\x40\x38\x07\x4b\x98\x98\x6b\x18\x82\x54\x8e\x24\x75\x04\x3d\xd7\x02\x1c\xa1\x6c\x3d\x03\xeb\x44\x26\x45\x79\x47\x69\xc6\x95\xe4\x9c\x89\x49\x99\xe9\xfe\x5c\xd7\x4f\x16\xea\x5c\x48\x8b\x91\x9f\x4b\x63\xff\x6f\x0f\xfe\x5b\x89\xe3\x45\x0d\x5a\x66\xc2\xe9\x99\x20\x28\xd4\x14\x85\x6f\x5c\x99\x9a\x0b\xbf\xcc\x04\x67\x53\xbf\x8b\xd6\x06\xd6\x1a\xc4\x8e\x1b\xf3\xdd\x26\x5a\x22\xc5\xf2\x4e\xbc\xaa\x46\xc9\x94\xdc\x7f\xa9\x9a\x1f\xc7\x08\xf6\x3b\x7f\xdb\xf8\x77\x00\x00\x00\xff\xff\x95\xd8\x9d\x17\x06\x19\x00\x00") +var _assetsDnsDaemonsetYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xcc\x59\xff\x53\xdb\xc6\x12\xff\x9d\xbf\x62\x2b\x78\x21\x69\x10\x98\x24\xa4\x79\x4a\xe8\xab\x0b\xa6\x30\x0d\xe0\xc1\x4e\xf3\x03\xc3\x63\xce\xa7\xb5\x75\xcf\xa7\xbb\xeb\xdd\x49\xa0\x01\xfe\xf7\x37\x77\xb2\x6c\xc9\x32\x6e\x33\xef\xcb\xb4\x3f\x50\xb8\xdd\xfd\xdc\xee\xde\x7e\x55\xa6\x4c\xc4\x11\x1c\x13\x4c\xa5\x18\xa0\xdd\x20\x8a\xfd\x86\xda\x30\x29\x22\x20\x4a\x99\xbd\x7c\x7f\x63\x13\x04\x49\x71\xc7\xff\x34\x8a\x50\x04\x22\x62\xe0\x64\x84\xdc\x00\xd1\x08\x06\x2d\x10\x0b\x3a\x13\x96\xa5\xb8\x61\x14\xd2\x68\x03\xc0\x62\xaa\x38\xb1\xe8\x7e\x07\xa8\x4e\xfd\xef\xa8\x73\x46\xb1\x4b\xa9\xcc\x84\xbd\x20\x29\x46\x10\x0b\x33\xa3\x2a\xcd\xa4\x66\xb6\x38\xe2\xc4\x98\x92\x68\x0a\x63\x31\x0d\x85\x8c\x31\xa4\x9a\x59\x46\x09\x9f\x71\x53\x29\x2c\x61\x02\xb5\xa9\xd0\x43\xaf\x69\x1d\x11\x60\x13\x58\x4a\x26\x08\xcc\x2c\x6b\x5b\x71\x78\x7a\x3f\xe3\xbc\x2f\x39\xa3\x45\x04\x67\xe3\x0b\x69\xfb\x1a\x0d\x0a\x3b\xe7\xb2\xa8\x53\x26\x88\x65\x52\x9c\xa3\x31\x4e\x64\xc6\x7e\x42\x38\x1f\x11\x3a\x1d\xca\xcf\x72\x62\x2e\x45\x4f\x6b\xa9\xe7\x72\x54\xa6\x29\x71\xae\xbe\x86\x80\x4a\x8d\xb1\x30\x01\xdc\xcc\xc9\x44\x4f\x8c\xa7\x85\x54\x8a\x71\xb0\x03\xc1\x1e\x5a\xba\x37\xe3\xdc\x3b\x92\x1a\xc7\x8c\x63\x5d\x24\x97\x3c\x4b\xf1\xdc\x39\x70\x6e\xf9\xc2\x76\x07\xc3\x26\x61\xc9\x34\xa7\x02\xa4\x8e\xbf\x4f\x6c\x12\x41\xfd\x86\x1a\x87\x46\x12\x5f\x0a\x5e\x44\x60\x75\xb6\x10\x55\x52\x37\xef\x99\xfb\xbd\x2f\xb5\x8d\xe0\xe0\xed\xc1\xdb\x1a\x4a\xfb\x05\xdc\xbb\x4a\x2b\xa9\xe4\x11\x7c\x39\xee\x7f\x3b\x52\x68\xa9\x5a\x89\x36\x3c\x5a\xa0\x39\xed\x99\x40\x63\xfa\x5a\x8e\x30\xaa\xf1\x27\xd6\xaa\x5f\xd0\xd6\x8f\x00\x54\xe9\x89\x04\x09\xb7\x49\x93\xe2\x75\xf9\xd0\xf9\xd0\x69\x1c\x1b\x9a\xa0\xd3\xe7\x74\x38\xec\xd7\x08\x4c\x30\xcb\x08\x3f\x46\x4e\x8a\x01\x52\x29\x62\x13\xc1\x7e\x5d\x54\xa1\x66\x32\x9e\xd3\xea\x16\x9a\x8c\x52\x34\x66\x98\x68\x34\x89\xe4\x71\x04\xfb\x35\xea\x98\x30\x9e\x69\xac\x51\xeb\xb2\x2e\x84\x65\x66\x57\xe0\x72\x96\xe3\x5f\xc4\x11\xef\x3b\x6b\x34\x3e\xf8\x0f\x3c\x71\x50\x7b\x77\x23\x33\x4d\xd1\xd4\xcd\xe2\x2c\x65\xd6\x34\x0d\x4d\x31\x95\xba\x88\xe0\x60\xff\xcd\x39\x6b\x84\xfd\xef\x19\x9a\x65\x6e\xaa\xb2\x08\x0e\x3a\xe9\x4a\x88\x1f\x3a\x73\x84\x2a\xed\xa6\xd9\x08\x43\x3d\x22\x34\x54\x5a\xde\x17\xdf\x50\x7e\x7c\x05\xa8\x25\x45\x18\x72\x39\xb1\xd2\xd8\x18\xb5\x6e\x9c\x1b\xa4\x99\xc6\x90\x33\x63\x51\x84\x24\x8e\x35\x1a\x73\x18\xfd\x7d\xff\xe0\x5d\x83\xcf\x72\x13\x52\xa6\x12\xd4\xa1\xc9\x98\x45\x73\x38\xfc\x3c\xb8\xed\x1d\x1d\x9f\xf6\x6e\xaf\x06\xdd\xdb\xaf\x67\xc3\xd3\xdb\x6e\x6f\x70\xbb\xff\xe6\xc3\xed\x2f\x47\xe7\xb7\x83\xd3\xee\x9b\x83\xf7\x3b\x0b\xae\xde\xd1\xf1\x1f\xf0\xb5\x70\x8e\x7e\x3e\xfa\x53\x38\x2b\xf9\xd6\xa0\x35\x2c\xcb\x94\xb1\x1a\x49\x7a\xe8\x42\x39\xda\xdb\xdb\x7f\xf3\xc3\x6e\x67\xb7\xb3\xbb\xef\x9c\xf0\x76\xaf\xed\x05\xd4\x36\x74\xf5\xf3\xd0\xd7\x3c\xcb\xcd\x9e\xd2\x2c\x27\x16\xdd\xef\xbb\x54\xdb\x96\xc8\x8c\x1e\x4e\xb1\x58\x23\x39\xc5\xe2\x4f\x17\xc8\xc6\xfb\x54\x65\x2d\x45\xab\x19\x35\xeb\xc3\x78\x4d\x68\xee\x3f\x13\x9a\xef\x3a\xb5\xe0\x7e\xae\x53\x2c\xf7\x82\x9a\x75\xcf\x29\xea\x7c\xf3\x47\xbd\xa2\xd6\x7e\xcb\x86\xed\x8c\xe2\x39\xea\xbf\x4c\x33\xf6\x19\xe4\x06\x0c\x29\x2c\xde\x37\x2a\xa1\xb3\x9f\x71\x9c\x60\xbc\xd4\xff\xd6\xb7\xdb\x44\x1a\x6b\x7c\xa0\xac\xe9\xb5\x9e\xa9\xe6\x04\x14\x39\x5c\x74\xcf\x7b\x83\xde\xd5\x6f\xbd\x2b\x3f\x54\x1d\x7d\xfe\x32\x18\xf6\xae\x6e\x8f\x2f\xcf\xbb\x67\x17\xab\x86\xab\x4a\x1c\x45\xde\x56\xc3\x21\x9d\x1d\xf5\x06\x35\x25\x36\xe1\xc8\x8d\x1e\x20\x35\x94\xb3\x9b\x41\x45\x34\xb1\x18\x83\xab\x20\x20\xc7\xd5\x34\x66\x1a\x52\x17\x97\xc3\x5e\x04\x27\x52\x83\x90\x77\x3b\x80\xc2\x64\x1a\xc1\x26\x68\xd0\xab\xa5\x91\x13\xcb\x72\x2c\xa7\xc2\x8f\x30\x96\x1a\x90\xd0\xa4\x49\xd8\x69\x60\x12\x01\x84\x33\x62\xe0\x8e\xd9\xc4\x61\x2d\xdb\x6b\xb2\xf1\x98\xdd\xc3\x1d\xe3\x1c\x08\x37\x12\x46\x08\x24\x8e\x31\xde\xad\xe1\xe4\x84\x67\x18\x41\xe0\x63\x24\xd4\x38\x61\xc6\xea\x62\x57\x2a\x14\x26\x61\x63\x1b\x2e\x11\x4c\x4e\x83\xd6\x1c\x56\x73\xdd\xde\x88\x89\xbd\x11\x31\x49\xbd\x08\xd0\xda\x1f\x8f\x75\x23\xbe\x6b\xb3\x83\x7f\xa3\x30\x93\xa0\x98\x42\xd7\xa5\x36\xea\xfd\x4e\x13\x05\xdb\xff\x92\x23\x03\xa1\x82\x47\xb8\x77\x95\x1e\xa6\xce\xc4\xc7\x47\x1f\x63\x1f\xe1\x8e\x30\xfb\x11\xf0\x9e\x59\xe8\x6c\xc3\xb0\x77\x75\x5e\x47\xb8\xec\xf7\x2e\x06\xa7\x67\x27\xc3\xdb\xf3\xee\xd5\xaf\xbd\xab\xc3\x60\x61\xeb\x04\x05\xfa\xd7\x6c\xa6\x5a\x50\x13\x3f\xbd\x1c\x0c\x07\xb7\x27\x67\x9f\x7b\x87\xc1\x22\x0e\xeb\x1c\xc3\xde\x79\xbf\xc5\xb0\x6b\x53\x15\xd4\xd5\x38\x3b\x19\x1c\x6e\xef\xc0\xb6\xcf\x7a\x08\x35\x84\x64\x1e\x3a\xf0\xe9\xd3\x27\x08\xb6\x1e\xaa\x00\x7c\x6a\x48\x6e\xc2\x39\x99\x22\x10\xbf\x11\x48\x4d\x74\x01\x2e\x55\x16\x61\x20\x79\x5c\xa6\x90\x3f\xdf\x36\x40\xac\xd5\x6c\x94\x59\x34\xf5\x97\xa7\x0a\xc2\x31\x84\xe1\x82\x1a\x4a\xc1\x0b\x77\xf1\xc2\xc8\xa7\xc0\xfd\x3d\x37\xa9\xa9\xc9\x5d\xe2\xee\x2d\x9d\x1e\xcb\x46\xe9\x8c\x91\x72\x17\xd8\x61\x17\x4c\x4e\x6f\x99\x32\x0d\xb2\x8b\x6f\x93\x53\x60\xc2\xc1\x57\x76\x5f\xff\x74\xf3\x14\xb4\xa0\x9c\xc5\x27\x68\x69\x52\xf9\x07\xce\xfa\x30\xd6\x32\x05\xca\x33\x63\x51\xbb\xda\x08\x6c\x0c\xaa\x2c\x68\xbb\xf0\x15\x21\x75\x2e\x32\x98\xa3\x26\x1c\xac\x66\x68\x5a\x98\x56\x42\x2c\x81\xd9\x08\xce\xfa\xf9\xbb\x1d\xf7\xf3\xbd\xff\xf9\x0e\x64\x8e\xda\x0d\xc2\xbe\x8a\xb8\xf3\xf9\xc9\x2e\x0c\x13\x04\x7b\x27\x81\x13\x97\xef\x62\x05\xb0\xb3\xdb\x19\x18\xa3\xe2\xb2\x48\x51\xd8\x59\x8e\xfe\x9a\xe9\x42\x83\x14\xee\x85\x50\xc3\xa5\x42\x31\xb0\x84\x4e\xe1\xe5\xe5\xa0\xbf\xff\xf6\x15\x84\x60\x13\x69\xd0\xe9\x25\xa4\x6d\x01\x9b\x4c\xb9\xbe\xe8\x06\x7e\xe0\x92\xc4\x23\xc2\x89\xa0\xa8\x8d\xd7\xd3\x35\x36\xe6\x6b\x09\xa1\x09\x13\x13\x38\xbe\x18\x80\x4d\xb4\xcc\x26\x89\x57\x7d\x09\x8f\xa6\xb1\x39\x7c\xb9\x1d\xb3\x09\x84\x16\xba\xf0\x53\xb0\xf5\xb0\x28\xa0\x4f\x01\xbc\x36\x89\xbb\xcd\x3d\x50\x4e\x9f\x76\xb7\x1e\x9a\xf5\xe5\x29\x78\x9c\x68\x54\x10\xe6\x10\xfc\xf3\x63\xb0\xbd\x04\x5f\xfe\x37\x87\xef\x76\xff\xd7\x37\xc0\x6b\x4b\x15\xbc\xd6\x68\x75\x71\xd8\xf9\x3f\x98\xf3\xdf\xbd\xef\xd5\xd2\x85\x2e\x82\x98\x4b\x90\xad\x87\xef\xdc\x53\x5d\x7f\x7f\xf3\xb4\xc4\xd2\x4a\x14\x00\xa6\xcc\xe1\xcb\xad\x97\x98\x13\xee\x6e\xf6\x82\xec\xe6\x29\x78\xb5\x0c\x0f\x2e\x63\xae\xaf\x21\xd8\xfa\x47\x00\x21\xfe\x0e\x1d\x78\xf1\xc2\x89\x6c\x32\x55\x26\x22\x84\x02\xa1\x03\x37\x37\x1f\x5d\x55\x11\x2b\xfc\x31\xcb\xec\xeb\x99\x89\xc1\xcd\x61\xb0\xf5\x50\x89\xaf\xe0\x1f\x69\x24\xd3\xd6\xf9\x98\xb5\xcc\x12\xb8\xd1\x3a\x68\x9c\x6c\xc2\x17\x15\x13\x8b\xb5\x51\x00\x7c\xf1\x62\x63\xb8\x43\x98\xa0\x75\x8d\x8d\xc5\xb5\x92\x61\x96\x00\xbe\x62\xd9\x19\x85\xb4\x90\xb5\xc0\xee\x12\x14\xce\x6c\xed\xe7\xaa\xd9\x5e\x3f\x47\x93\x99\x75\x13\x97\xd4\x40\x14\x83\x4c\x90\x9c\x30\x4e\x46\x8c\x33\x5b\x2c\x5d\x33\xb0\x84\x23\xa0\xf0\x35\x08\xa8\xcc\x78\xec\x5a\x93\xb1\xee\x69\x6b\x17\xb2\xb1\xaf\xdd\xd5\x0d\xcc\x40\x8c\x1c\x2d\xc6\x1b\xed\x37\x0b\xc5\x2c\xaa\xbc\xf7\xbf\xbf\x09\x9f\x82\xe7\x9e\x69\x13\x7e\xce\x18\x8f\x81\x80\xc0\xbb\x5a\x57\x28\x0b\x68\xdd\x60\x57\xa0\x64\xa6\x81\x66\xc6\xca\x74\xae\xf1\x98\x71\x8b\x1a\x63\x67\xf3\x12\xf6\x3c\x7c\x37\x61\xeb\x61\xb9\xad\x96\x8d\xa3\xd1\x48\x7e\x5c\xd3\x4a\x4a\x5d\xbb\x4a\xa1\xaf\x64\x65\xdf\x5d\x28\xe1\xda\x45\x7b\xae\x82\x56\x27\xf9\xae\x72\xca\x33\x9d\x64\x96\x56\xaa\xcc\xab\x8a\xb9\x0c\xdf\x9b\xa7\x95\x02\x00\x48\x13\x09\x3e\xb2\x9f\x4a\xa1\xea\x7f\xed\x9c\x86\x67\x5c\xf1\x63\xcb\xf6\xe5\x4b\x5a\x41\xbf\x2a\xec\x9d\x8f\x86\x97\xc7\x97\xd1\x8a\xf0\x27\x56\xa6\x8c\x12\xce\x0b\xd7\xd9\x48\x2e\x59\x0c\x44\x14\xc0\x04\x95\xc2\xf8\xf5\xd6\xc2\x08\x13\x92\xb3\xda\xf0\x5e\xa1\x5e\xa1\xe2\x6e\x9e\x5d\x15\x11\xa9\x8c\xd9\x98\x61\x0c\x79\xf9\x2d\xd3\x45\xa1\x40\x8c\x97\x62\xd3\x75\x14\xb5\x64\x66\x2b\x06\x1e\x1f\x67\x73\xc7\x7a\xbe\xb6\xd5\x15\xaf\xcb\x0c\x97\xb2\x1a\x53\x99\x63\xbc\xb0\xd5\x47\x35\xd5\xe8\xb6\xc9\x32\x75\x7c\x57\x5c\x4c\x37\x40\xa5\x2a\x80\x26\x99\x6e\x26\xc9\x52\xfd\x31\x1c\x51\xc1\xfb\x0e\xbc\xf0\x83\x64\x83\x96\x09\x37\x9b\xb6\x07\x9a\xc6\xe3\x7d\xeb\xd6\x79\x50\x2d\x9d\xb1\x30\xd5\xc6\x75\x8c\x63\x92\xf1\xea\x72\x37\x8c\x0e\x90\x23\xb5\x52\x2f\x00\xa6\xd9\x08\xb5\x40\x37\xd5\x31\xb9\x27\x4d\x04\x9c\x89\xec\xbe\x24\xce\xb8\xca\x3d\xab\xf5\x2d\x77\xf5\xf7\xcc\xf2\xf4\x9c\xa8\xa8\xb6\x56\x5d\x90\x74\xdd\x6a\x09\xc0\x2c\xa6\x0d\xb3\x42\x98\x62\x11\x41\xf5\x95\x75\xc5\x87\xb1\x25\xd2\x9a\xb5\xcf\x1d\xf9\x9d\x6f\x63\x19\x63\xc5\x0e\x08\x60\x0b\x85\x11\x9c\xb4\xa1\x57\x2d\xdc\x9b\x6e\x73\xd5\x68\xd7\x5a\x68\x25\x77\x1b\x01\x93\x62\x6e\xe3\xa6\x1f\xac\x5c\x02\x18\x17\x7d\x3a\x13\xe0\xe6\xcc\xe2\xce\x75\x8b\x5d\x18\x96\x12\x08\x84\x73\xb0\x84\x89\xb9\x86\x21\x48\xe5\x48\x52\x47\xd0\x73\x2d\xc0\x11\xca\xd6\x33\xb0\x4e\x64\x52\x94\x77\x94\x66\x5c\x49\xce\x99\x98\x94\x99\xee\xcf\x75\xfd\x64\xa1\xce\x85\xb4\x18\xf9\xb9\x34\xf6\xff\xf2\xe0\xbf\x95\x38\x5e\xd4\xa0\x65\x26\x9c\x9e\x09\x82\x42\x4d\x51\xf8\xc6\x95\xa9\xb9\xf0\xcb\x4c\x70\x36\xf5\xbb\x68\x6d\x60\xad\x41\xec\xb8\x31\xdf\x6d\xa2\x25\x52\x2c\xef\xc4\xab\x6a\x94\x4c\xc9\xfd\x97\xaa\xf9\x71\x8c\x60\xbf\xf3\xb7\x8d\x7f\x07\x00\x00\xff\xff\x8b\x8a\xab\xbb\x04\x19\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: 6406, mode: os.FileMode(420), modTime: time.Unix(1, 0)} - a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x33, 0xc0, 0x8c, 0xc1, 0x6a, 0x4f, 0xd3, 0xe9, 0xf5, 0x19, 0xba, 0x65, 0x8, 0x7d, 0x97, 0x28, 0x53, 0x51, 0xb3, 0xe9, 0x5e, 0x4c, 0xf, 0xfc, 0x23, 0x10, 0xb, 0x8, 0x88, 0x65, 0xb3, 0x46}} + info := bindataFileInfo{name: "assets/dns/daemonset.yaml", size: 6404, mode: os.FileMode(420), modTime: time.Unix(1, 0)} + a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x26, 0xe1, 0x42, 0x1f, 0xc7, 0x72, 0x1c, 0x60, 0x58, 0x12, 0x27, 0xfe, 0x9d, 0xe, 0xe9, 0xff, 0xb5, 0xf6, 0x4b, 0x9d, 0x9d, 0x9f, 0x80, 0xf0, 0x21, 0xb8, 0x63, 0xb5, 0xfc, 0x6e, 0x77, 0xb9}} return a, nil } diff --git a/pkg/operator/controller/controller_dns_daemonset.go b/pkg/operator/controller/controller_dns_daemonset.go index f8bbb7633..1cb1989d7 100644 --- a/pkg/operator/controller/controller_dns_daemonset.go +++ b/pkg/operator/controller/controller_dns_daemonset.go @@ -177,17 +177,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 } } @@ -197,9 +204,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 d7c68cf56..cd726f4b9 100644 --- a/pkg/operator/controller/controller_dns_daemonset_test.go +++ b/pkg/operator/controller/controller_dns_daemonset_test.go @@ -200,6 +200,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, + }, { description: "if the update strategy changes", mutate: func(daemonset *appsv1.DaemonSet) { @@ -233,6 +247,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",