How-To Enable or Disable MetalLB via Sunpike API For an Already Installed Cluster
Problem
Environment
Procedure
curl -X GET -H "X-Auth-Token: $TOKEN" https://<DU_FQDN>/qbert/v4/<PROJECT_ID>/sunpike/apis/sunpike.platform9.com/v1alpha2/namespaces/default/clusteraddons/<CLUSTER_UUID>-metallb | jq# curl -k -X GET -H "X-Auth-Token: $TOKEN" https://airctl-1.pf9.localnet/qbert/v4/510ccf9d2b044f8aa28143e58ba47e5f/sunpike/apis/sunpike.platform9.com/v1alpha2/namespaces/default/clusteraddons/5685f4e4-8d34-43d6-8006-8829200bfd3c-metallb | jq
...
...
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {},
"status": "Failure",
"message": "clusteraddons.sunpike.platform9.com \"5685f4e4-8d34-43d6-8006-8829200bfd3c-metallb\" not found",
"reason": "NotFound",
"details": {
"name": "5685f4e4-8d34-43d6-8006-8829200bfd3c-metallb",
"group": "sunpike.platform9.com",
"kind": "clusteraddons"
},
"code": 404
}PreviousHow To Enable Verbose Logging for Kubelet on a Node?NextHow To Use Reserved AWS Instances in PMK
Last updated
