@@ -130,6 +130,13 @@ spec:
130130 type : object
131131 description : Spec to control the desired behavior of storage cluster rolling update.
132132 properties :
133+ minReadySeconds :
134+ description : Minimum number of seconds for which a newly created Portworx pod
135+ should be ready without any of its container crashing for it to
136+ be considered available. Defaults to 0 (pod will be considered available
137+ as soon as it is ready).
138+ format : int32
139+ type : integer
133140 maxUnavailable :
134141 x-kubernetes-int-or-string : true
135142 description : >-
@@ -623,6 +630,30 @@ spec:
623630 type : string
624631 mode :
625632 type : integer
633+ resources :
634+ type : object
635+ description : Specifies the resource requirements for stork and stork scheduler.
636+ properties :
637+ requests :
638+ type : object
639+ description : Requested resources.
640+ properties :
641+ memory :
642+ type : string
643+ description : Requested memory.
644+ cpu :
645+ type : string
646+ description : Requested cpu.
647+ limits :
648+ type : object
649+ description : Resource limit.
650+ properties :
651+ memory :
652+ type : string
653+ description : Memory limit.
654+ cpu :
655+ type : string
656+ description : CPU limit.
626657 userInterface :
627658 type : object
628659 description : Contains spec of a user interface for the storage driver.
@@ -876,6 +907,30 @@ spec:
876907 type : object
877908 x-kubernetes-preserve-unknown-fields : true
878909 description : Map of key-value params for the provider.
910+ resources :
911+ type : object
912+ description : Specifies the resource requirements for the autopilot pod.
913+ properties :
914+ requests :
915+ type : object
916+ description : Requested resources.
917+ properties :
918+ memory :
919+ type : string
920+ description : Requested memory.
921+ cpu :
922+ type : string
923+ description : Requested cpu.
924+ limits :
925+ type : object
926+ description : Resource limit.
927+ properties :
928+ memory :
929+ type : string
930+ description : Memory limit.
931+ cpu :
932+ type : string
933+ description : CPU limit.
879934 monitoring :
880935 type : object
881936 description : Contains monitoring configuration for the storage cluster.
@@ -888,6 +943,158 @@ spec:
888943 type : object
889944 description : Contains configuration of Prometheus to monitor the storage cluster.
890945 properties :
946+ resources :
947+ type : object
948+ description : Define resources requests and limits for single Pods.
949+ properties :
950+ limits :
951+ additionalProperties :
952+ anyOf :
953+ - type : integer
954+ - type : string
955+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
956+ x-kubernetes-int-or-string : true
957+ description : ' Limits describes the maximum amount of compute resources
958+ allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
959+ type : object
960+ requests :
961+ additionalProperties :
962+ anyOf :
963+ - type : integer
964+ - type : string
965+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
966+ x-kubernetes-int-or-string : true
967+ description : ' Requests describes the minimum amount of compute
968+ resources required. If Requests is omitted for a container,
969+ it defaults to Limits if that is explicitly specified, otherwise
970+ to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
971+ type : object
972+ securityContext :
973+ description : ' Security options the pod should run with. More
974+ info: https://kubernetes.io/docs/concepts/policy/security-context/
975+ More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/'
976+ properties :
977+ allowPrivilegeEscalation :
978+ description : ' AllowPrivilegeEscalation controls whether
979+ a process can gain more privileges than its parent process.
980+ This bool directly controls if the no_new_privs flag will
981+ be set on the container process. AllowPrivilegeEscalation
982+ is true always when the container is: 1) run as Privileged
983+ 2) has CAP_SYS_ADMIN'
984+ type : boolean
985+ capabilities :
986+ description : The capabilities to add/drop when running containers.
987+ Defaults to the default set of capabilities granted by
988+ the container runtime.
989+ properties :
990+ add :
991+ description : Added capabilities
992+ items :
993+ description : Capability represent POSIX capabilities
994+ type
995+ type : string
996+ type : array
997+ drop :
998+ description : Removed capabilities
999+ items :
1000+ description : Capability represent POSIX capabilities
1001+ type
1002+ type : string
1003+ type : array
1004+ type : object
1005+ privileged :
1006+ description : Run container in privileged mode. Processes
1007+ in privileged containers are essentially equivalent to
1008+ root on the host. Defaults to false.
1009+ type : boolean
1010+ procMount :
1011+ description : procMount denotes the type of proc mount to
1012+ use for the containers. The default is DefaultProcMount
1013+ which uses the container runtime defaults for readonly
1014+ paths and masked paths. This requires the ProcMountType
1015+ feature flag to be enabled.
1016+ type : string
1017+ readOnlyRootFilesystem :
1018+ description : Whether this container has a read-only root
1019+ filesystem. Default is false.
1020+ type : boolean
1021+ runAsGroup :
1022+ description : The GID to run the entrypoint of the container
1023+ process. Uses runtime default if unset. May also be set
1024+ in PodSecurityContext. If set in both SecurityContext
1025+ and PodSecurityContext, the value specified in SecurityContext
1026+ takes precedence.
1027+ format : int64
1028+ type : integer
1029+ runAsNonRoot :
1030+ description : Indicates that the container must run as a
1031+ non-root user. If true, the Kubelet will validate the
1032+ image at runtime to ensure that it does not run as UID
1033+ 0 (root) and fail to start the container if it does. If
1034+ unset or false, no such validation will be performed.
1035+ May also be set in PodSecurityContext. If set in both
1036+ SecurityContext and PodSecurityContext, the value specified
1037+ in SecurityContext takes precedence.
1038+ type : boolean
1039+ runAsUser :
1040+ description : The UID to run the entrypoint of the container
1041+ process. Defaults to user specified in image metadata
1042+ if unspecified. May also be set in PodSecurityContext. If
1043+ set in both SecurityContext and PodSecurityContext, the
1044+ value specified in SecurityContext takes precedence.
1045+ format : int64
1046+ type : integer
1047+ seLinuxOptions :
1048+ description : The SELinux context to be applied to the container.
1049+ If unspecified, the container runtime will allocate a
1050+ random SELinux context for each container. May also be
1051+ set in PodSecurityContext. If set in both SecurityContext
1052+ and PodSecurityContext, the value specified in SecurityContext
1053+ takes precedence.
1054+ properties :
1055+ level :
1056+ description : Level is SELinux level label that applies
1057+ to the container.
1058+ type : string
1059+ role :
1060+ description : Role is a SELinux role label that applies
1061+ to the container.
1062+ type : string
1063+ type :
1064+ description : Type is a SELinux type label that applies
1065+ to the container.
1066+ type : string
1067+ user :
1068+ description : User is a SELinux user label that applies
1069+ to the container.
1070+ type : string
1071+ type : object
1072+ windowsOptions :
1073+ description : The Windows specific settings applied to all
1074+ containers. If unspecified, the options from the PodSecurityContext
1075+ will be used. If set in both SecurityContext and PodSecurityContext,
1076+ the value specified in SecurityContext takes precedence.
1077+ properties :
1078+ gmsaCredentialSpec :
1079+ description : GMSACredentialSpec is where the GMSA admission
1080+ webhook (https://github.com/kubernetes-sigs/windows-gmsa)
1081+ inlines the contents of the GMSA credential spec named
1082+ by the GMSACredentialSpecName field.
1083+ type : string
1084+ gmsaCredentialSpecName :
1085+ description : GMSACredentialSpecName is the name of the
1086+ GMSA credential spec to use.
1087+ type : string
1088+ runAsUserName :
1089+ description : The UserName in Windows to run the entrypoint
1090+ of the container process. Defaults to the user specified
1091+ in image metadata if unspecified. May also be set
1092+ in PodSecurityContext. If set in both SecurityContext
1093+ and PodSecurityContext, the value specified in SecurityContext
1094+ takes precedence.
1095+ type : string
1096+ type : object
1097+ type : object
8911098 exportMetrics :
8921099 type : boolean
8931100 description : If this flag is enabled it will expose the storage cluster metrics to Prometheus.
0 commit comments