Unable to Modify Existing default Apiserver Flags
Problem
Duplicate flags are seen while trying to update/modify the existing Kube-apiserver flag via Qbert API call.
The api call used:
Environment
Platform9 Managed Kubernetes- v5.11.0
Workaround
To prevent duplicate flags, update the master configuration
**/opt/pf9/pf9-kube/conf/masterconfig/base/ubuntu/master.yaml**with the correct flags [Add required flags and remove any duplicates].Ensure that there are no other config files containing the same flag in the folder
/etc/pf9/kube.d/pod-manifests/and/opt/pf9/pf9-kube/conf/pod-manifests/other thanmaster.yaml(e.g., master.yaml_original).Once the necessary changes are made, perform a full stack restart on each node one at a time.
Answer
This is a known issue and is resolved in the PMK-5.12 and PMK-5.11.2 versions.
Additional Information
The Jira used to track this issue is PMK-6637.
