Servers - General
1825659 Members
3509 Online
109686 Solutions
New Discussion

What flags and feature gates are set when HPE CP K8S clusters are provisioned?

 
SOLVED
Go to solution
Hightower444
Occasional Contributor

What flags and feature gates are set when HPE CP K8S clusters are provisioned?

I’m trying to demo installing a CSI driver for a customer and decided to go with the AWS EBS driver. The first step is:

 

 

Enable flag --allow-privileged=true for kube-apiserver
Enable kube-apiserver feature gates --feature-gates=CSINodeInfo=true,CSIDriverRegistry=true,CSIBlockVolume=true,VolumeSnapshotDataSource=true

 

 

3 REPLIES 3
support_s
System Recommended

Query: What flags and feature gates are set when HPE CP K8S clusters are provisioned?

System recommended content:

1. HPE I-HSS VNF Operations and Utilities Guide, Release 04.00.21

2. HPE I-HSS VNF Operations and Utilities Guide, Release 03.03.25

 

Please click on "Thumbs Up/Kudo" icon to give a "Kudo".

 

Thank you for being a HPE valuable community member.


Accept or Kudo

Suman_1978
HPE Pro

Re: What flags and feature gates are set when HPE CP K8S clusters are provisioned?

Hi,

May be this will help.

https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&docId=a00092214en_us
https://kubernetes.io/docs/reference/command-line-tools-reference/_print/

Thank You!
Let HPE Support Videos page help you troubleshoot.



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
David865
New Member
Solution

Re: What flags and feature gates are set when HPE CP K8S clusters are provisioned?

You can find out by running the following on the master node:

$ ps aux | grep apiserver
... kube-apiserver --allow-privileged=true --audit-log-maxage=1 ...
Here you can see the flags that are set (in my case I needed --allow-privileged=true).

Similarly, you can look for feature-gates:

$ ps aux | grep apiserver | grep feature-gates
[empty response]
It appears that no feature gates are explicitly enabled on my cluster, so I need to check what is enabled by default. I can do that by looking here. In the table, I can see that the feature gate CSINodeInfo is enabled by default and is GA since 1.17: