@@ -18,12 +18,13 @@ const (
1818)
1919
2020var (
21- restartNetworkCmd = []string {"bash" , "-c" , "systemctl restart systemd-networkd" }
22- cnsManagedStateFileCmd = []string {"bash" , "-c" , "cat /var/run/azure-cns/azure-endpoints.json" }
23- azureVnetStateFileCmd = []string {"bash" , "-c" , "cat /var/run/azure-vnet.json" }
24- azureVnetIpamStateCmd = []string {"bash" , "-c" , "cat /var/run/azure-vnet-ipam.json" }
25- ciliumStateFileCmd = []string {"bash" , "-c" , "cilium endpoint list -o json" }
26- cnsCachedAssignedIPStateCmd = []string {"curl" , "localhost:10090/debug/ipaddresses" , "-d" , "{\" IPConfigStateFilter\" :[\" Assigned\" ]}" }
21+ restartNetworkCmd = []string {"bash" , "-c" , "systemctl restart systemd-networkd" }
22+ cnsManagedStateFileCmd = []string {"bash" , "-c" , "cat /var/run/azure-cns/azure-endpoints.json" }
23+ azureVnetStateFileCmd = []string {"bash" , "-c" , "cat /var/run/azure-vnet.json" }
24+ azureVnetIpamStateCmd = []string {"bash" , "-c" , "cat /var/run/azure-vnet-ipam.json" }
25+ ciliumStateFileCmd = []string {"bash" , "-c" , "cilium endpoint list -o json" }
26+ // Would need https://teams.microsoft.com/l/message/19:[email protected] /1724337155258?tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47&groupId=e121dbfd-0ec1-40ea-8af5-26075f6a731b&parentMessageId=1724337155258&teamName=Azure%20Container%20Compute&channelName=Networking%20Sig&createdTime=1724337155258 to fix 27+ // cnsCachedAssignedIPStateCmd = []string{"curl", "localhost:10090/debug/ipaddresses", "-d", "{\"IPConfigStateFilter\":[\"Assigned\"]}"}
2728)
2829
2930type stateFileIpsFunc func ([]byte ) (map [string ]string , error )
@@ -45,14 +46,14 @@ var linuxChecksMap = map[string][]check{
4546 podNamespace : privilegedNamespace ,
4647 cmd : ciliumStateFileCmd ,
4748 },
48- {
49- name : "cns cache" ,
50- stateFileIPs : cnsCacheStateFileIps ,
51- podLabelSelector : validatorPod ,
52- podNamespace : privilegedNamespace ,
53- containerName : "debug" ,
54- cmd : cnsCachedAssignedIPStateCmd ,
55- },
49+ // {
50+ // name: "cns cache",
51+ // stateFileIPs: cnsCacheStateFileIps,
52+ // podLabelSelector: validatorPod,
53+ // podNamespace: privilegedNamespace,
54+ // containerName: "debug",
55+ // cmd: cnsCachedAssignedIPStateCmd,
56+ // },
5657 },
5758 "cniv1" : {
5859 {
@@ -71,14 +72,14 @@ var linuxChecksMap = map[string][]check{
7172 },
7273 },
7374 "cniv2" : {
74- {
75- name : "cns cache" ,
76- stateFileIPs : cnsCacheStateFileIps ,
77- podLabelSelector : validatorPod ,
78- podNamespace : privilegedNamespace ,
79- containerName : "debug" ,
80- cmd : cnsCachedAssignedIPStateCmd ,
81- },
75+ // {
76+ // name: "cns cache",
77+ // stateFileIPs: cnsCacheStateFileIps,
78+ // podLabelSelector: validatorPod,
79+ // podNamespace: privilegedNamespace,
80+ // containerName: "debug",
81+ // cmd: cnsCachedAssignedIPStateCmd,
82+ // },
8283 {
8384 name : "azure-vnet" ,
8485 stateFileIPs : azureVnetStateIps ,
@@ -88,14 +89,14 @@ var linuxChecksMap = map[string][]check{
8889 }, // cns configmap "ManageEndpointState": false, | Endpoints managed in CNI State File
8990 },
9091 "dualstack" : {
91- {
92- name : "cns cache" ,
93- stateFileIPs : cnsCacheStateFileIps ,
94- podLabelSelector : validatorPod ,
95- podNamespace : privilegedNamespace ,
96- containerName : "debug" ,
97- cmd : cnsCachedAssignedIPStateCmd ,
98- },
92+ // {
93+ // name: "cns cache",
94+ // stateFileIPs: cnsCacheStateFileIps,
95+ // podLabelSelector: validatorPod,
96+ // podNamespace: privilegedNamespace,
97+ // containerName: "debug",
98+ // cmd: cnsCachedAssignedIPStateCmd,
99+ // },
99100 {
100101 name : "azure dualstackoverlay" ,
101102 stateFileIPs : azureVnetStateIps ,
@@ -120,14 +121,14 @@ var linuxChecksMap = map[string][]check{
120121 podNamespace : privilegedNamespace ,
121122 cmd : ciliumStateFileCmd ,
122123 },
123- {
124- name : "cns cache" ,
125- stateFileIPs : cnsCacheStateFileIps ,
126- podLabelSelector : validatorPod ,
127- podNamespace : privilegedNamespace ,
128- containerName : "debug" ,
129- cmd : cnsCachedAssignedIPStateCmd ,
130- },
124+ // {
125+ // name: "cns cache",
126+ // stateFileIPs: cnsCacheStateFileIps,
127+ // podLabelSelector: validatorPod,
128+ // podNamespace: privilegedNamespace,
129+ // containerName: "debug",
130+ // cmd: cnsCachedAssignedIPStateCmd,
131+ // },
131132 },
132133}
133134
0 commit comments