Managed Kubernetes
Latest
Frequently Asked Questions
Solutions
How Tos
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Unable to Modify Existing default Apiserver Flags
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
Duplicate flags are seen while trying to update/modify the existing Kube-apiserver flag via Qbert API call.
The api call used:
Command
# curl --location --request PUT 'https://<FQDN>/qbert/v4/<Tenant-ID>/clusters/<Cluster-UUID>' --header 'X-Auth-Token: <TOKEN>' --header 'Content-Type: application/json' --data-raw '{"apiServerFlags": "--encryption-provider-config=/var/opt/pf9/kube/apiserver-config/encryption-provider.yaml,--service-account-issuer=https://<Issuer-URL>"}'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.
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message