Update kruise chart to 1.0.0-alpha.1

Signed-off-by: FillZpp <FillZpp.pub@gmail.com>
This commit is contained in:
FillZpp 2021-10-26 19:53:55 +08:00
parent 2a17ae791d
commit 8bd08c9514
21 changed files with 2889 additions and 2691 deletions

View File

@ -7,7 +7,6 @@ chart-dirs:
chart-repos:
- openkruise=https://openkruise.github.io/charts
- minio=https://helm.min.io/
- dandydeveloper=https://dandydeveloper.github.io/charts/
- stable=https://charts.helm.sh/stable
- incubator=https://charts.helm.sh/incubator
helm-extra-args: "--timeout 600s"

View File

@ -7,7 +7,6 @@ chart-dirs:
chart-repos:
- openkruise=https://openkruise.github.io/charts
- minio=https://helm.min.io/
- dandydeveloper=https://dandydeveloper.github.io/charts/
- stable=https://charts.helm.sh/stable
- incubator=https://charts.helm.sh/incubator
helm-extra-args: "--timeout 600s"

View File

@ -17,22 +17,21 @@ jobs:
- name: Install Helm
uses: azure/setup-helm@v1
# - name: Add dependency chart repos
# run: |
# helm repo add openkruise https://openkruise.github.io/charts
# helm repo add minio https://helm.min.io/
# helm repo add dandydeveloper https://dandydeveloper.github.io/charts/
# helm repo add stable https://charts.helm.sh/stable
# helm repo add incubator https://charts.helm.sh/incubator
- name: Add dependency chart repos
run: |
helm repo add openkruise https://openkruise.github.io/charts
helm repo add minio https://helm.min.io/
helm repo add stable https://charts.helm.sh/stable
helm repo add incubator https://charts.helm.sh/incubator
- name: Configure Git
run: |
git config user.name "gh-actions"
git config user.email "actions@github.com"
## This is required to consider the old Circle-CI Index and to stay compatible with all the old releases.
# - name: Fetch current Chart Index
# run: |
# git checkout origin/gh-pages index.yaml
# This is required to consider the old Circle-CI Index and to stay compatible with all the old releases.
- name: Fetch current Chart Index
run: |
git checkout origin/gh-pages index.yaml
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.2.1
with:

View File

@ -1,8 +1,8 @@
apiVersion: v1
name: kruise
description: Helm chart for kruise components
version: 0.10.0
icon: https://openkruise.io/img/logo_white.png
version: 1.0.0-alpha.1
icon: https://openkruise.io/img/openkruise.ico
keywords:
- openkruise
- kubernetes
@ -16,3 +16,12 @@ keywords:
home: https://openkruise.io
sources:
- https://github.com/openkruise/kruise
annotations:
artifacthub.io/changes: |
- "[Changed]: Bump CustomResourceDefinition(CRD) from v1beta1 to v1"
- "[Changed]: Bump ValidatingWebhookConfiguration/MutatingWebhookConfiguration from v1beta1 to v1"
- "[Changed]: Bump dependencies: k8s v1.18 -> v1.20, controller-runtime v0.6.5 -> v0.8.3"
- "[Removed]: No longer support Kubernetes < 1.16"
- "[Added]: In-place update with env from metadata"
- "[Added]: ContainerLaunchPriority provides a way to help users control the sequence of containers start in a Pod"
- "[Changed]: More details: https://github.com/openkruise/kruise/releases"

View File

@ -1,26 +1,5 @@
# Kruise
## Install
We strongly recommend you to use Kruise with **Kubernetes version >= 1.16**.
For these clusters, you can simply install Kruise with helm v3.1.0+:
```bash
helm install kruise https://github.com/openkruise/kruise/releases/download/v0.10.0/kruise-chart.tgz
```
> Note that installing this chart directly means it will use the default template values for the kruise-manager.
You may have to set your specific configurations when it is deployed into a production cluster or you want to configure feature-gates.
For more installation/upgrade details or older Kubernetes versions, please read [this doc](https://openkruise.io/en-us/docs/installation.html).
## Uninstall
```bash
$ helm delete kruise
release "kruise" uninstalled
```
## Configuration
The following table lists the configurable parameters of the kruise chart and their default values.
@ -53,6 +32,8 @@ The following table lists the configurable parameters of the kruise chart and th
| `webhookConfiguration.failurePolicy.pods` | The failurePolicy for pods in mutating webhook configuration | `Ignore` |
| `webhookConfiguration.timeoutSeconds` | The timeoutSeconds for all webhook configuration | `30` |
| `crds.managed` | Kruise will not install CRDs with chart if this is false | `true` |
| `manager.resyncPeriod` | Resync period of informer kruise-manager, defaults no resync | `0` |
| `manager.hostNetwork` | Whether kruise-manager pod should run with hostnetwork | `false` |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
@ -74,6 +55,7 @@ Feature-gate controls some influential features in Kruise:
| `PodUnavailableBudgetDeleteGate` | Enables PodUnavailableBudget for pod deletion, eviction | `false` | No protection for pod deletion, eviction |
| `PodUnavailableBudgetUpdateGate` | Enables PodUnavailableBudget for pod.Spec update | `false` | No protection for in-place update |
| `WorkloadSpread` | Enables WorkloadSpread to manage multi-domain and elastic deploy | `false` | WorkloadSpread disabled |
| `InPlaceUpdateEnvFromMetadata` | Enables Kruise to in-place update a container in Pod when its env from labels/annotations changed and pod is in-place updating | `false` | Only container image can be in-place update |
If you want to configure the feature-gate, just set the parameter when install or upgrade. Such as:

View File

@ -1,31 +1,14 @@
{{- if .Values.crds.managed }}
---
apiVersion: apiextensions.k8s.io/v1beta1
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.9
controller-gen.kubebuilder.io/version: v0.5.0
creationTimestamp: null
name: advancedcronjobs.apps.kruise.io
spec:
additionalPrinterColumns:
- JSONPath: .spec.schedule
description: The schedule of advanced cron job.
name: Schedule
type: string
- JSONPath: .status.type
description: Type of cron job.
name: Type
type: string
- JSONPath: .status.lastScheduleTime
description: The last time at which job was scheduled.
name: LastScheduleTime
type: date
- JSONPath: .metadata.creationTimestamp
description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
name: AGE
type: date
group: apps.kruise.io
names:
kind: AdvancedCronJob
@ -35,9 +18,26 @@ spec:
- acj
singular: advancedcronjob
scope: Namespaced
subresources:
status: {}
validation:
versions:
- additionalPrinterColumns:
- description: The schedule of advanced cron job.
jsonPath: .spec.schedule
name: Schedule
type: string
- description: Type of cron job.
jsonPath: .status.type
name: Type
type: string
- description: The last time at which job was scheduled.
jsonPath: .status.lastScheduleTime
name: LastScheduleTime
type: date
- description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
jsonPath: .metadata.creationTimestamp
name: AGE
type: date
name: v1alpha1
schema:
openAPIV3Schema:
description: AdvancedCronJob is the Schema for the advancedcronjobs API
properties:
@ -163,11 +163,10 @@ spec:
type: string
type: object
type: object
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""

View File

@ -1,35 +1,14 @@
{{- if .Values.crds.managed }}
---
apiVersion: apiextensions.k8s.io/v1beta1
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.9
controller-gen.kubebuilder.io/version: v0.5.0
creationTimestamp: null
name: broadcastjobs.apps.kruise.io
spec:
additionalPrinterColumns:
- JSONPath: .status.desired
description: The desired number of pods. This is typically equal to the number of nodes satisfied to run pods.
name: Desired
type: integer
- JSONPath: .status.active
description: The number of actively running pods.
name: Active
type: integer
- JSONPath: .status.succeeded
description: The number of pods which reached phase Succeeded.
name: Succeeded
type: integer
- JSONPath: .status.failed
description: The number of pods which reached phase Failed.
name: Failed
type: integer
- JSONPath: .metadata.creationTimestamp
description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
name: AGE
type: date
group: apps.kruise.io
names:
kind: BroadcastJob
@ -39,9 +18,30 @@ spec:
- bcj
singular: broadcastjob
scope: Namespaced
subresources:
status: {}
validation:
versions:
- additionalPrinterColumns:
- description: The desired number of pods. This is typically equal to the number of nodes satisfied to run pods.
jsonPath: .status.desired
name: Desired
type: integer
- description: The number of actively running pods.
jsonPath: .status.active
name: Active
type: integer
- description: The number of pods which reached phase Succeeded.
jsonPath: .status.succeeded
name: Succeeded
type: integer
- description: The number of pods which reached phase Failed.
jsonPath: .status.failed
name: Failed
type: integer
- description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
jsonPath: .metadata.creationTimestamp
name: AGE
type: date
name: v1alpha1
schema:
openAPIV3Schema:
description: BroadcastJob is the Schema for the broadcastjobs API
properties:
@ -160,11 +160,10 @@ spec:
type: integer
type: object
type: object
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""

View File

@ -1,54 +1,14 @@
{{- if .Values.crds.managed }}
---
apiVersion: apiextensions.k8s.io/v1beta1
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.9
controller-gen.kubebuilder.io/version: v0.5.0
creationTimestamp: null
name: clonesets.apps.kruise.io
spec:
additionalPrinterColumns:
- JSONPath: .spec.replicas
description: The desired number of pods.
name: DESIRED
type: integer
- JSONPath: .status.updatedReplicas
description: The number of pods updated.
name: UPDATED
type: integer
- JSONPath: .status.updatedReadyReplicas
description: The number of pods updated and ready.
name: UPDATED_READY
type: integer
- JSONPath: .status.readyReplicas
description: The number of pods ready.
name: READY
type: integer
- JSONPath: .status.replicas
description: The number of currently all pods.
name: TOTAL
type: integer
- JSONPath: .metadata.creationTimestamp
description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
name: AGE
type: date
- JSONPath: .spec.template.spec.containers[*].name
description: The containers of currently cloneset.
name: CONTAINERS
priority: 1
type: string
- JSONPath: .spec.template.spec.containers[*].image
description: The images of currently cloneset.
name: IMAGES
priority: 1
type: string
- JSONPath: .status.labelSelector
description: The selector of currently cloneset.
name: SELECTOR
priority: 1
type: string
group: apps.kruise.io
names:
kind: CloneSet
@ -58,13 +18,49 @@ spec:
- clone
singular: cloneset
scope: Namespaced
subresources:
scale:
labelSelectorPath: .status.labelSelector
specReplicasPath: .spec.replicas
statusReplicasPath: .status.replicas
status: {}
validation:
versions:
- additionalPrinterColumns:
- description: The desired number of pods.
jsonPath: .spec.replicas
name: DESIRED
type: integer
- description: The number of pods updated.
jsonPath: .status.updatedReplicas
name: UPDATED
type: integer
- description: The number of pods updated and ready.
jsonPath: .status.updatedReadyReplicas
name: UPDATED_READY
type: integer
- description: The number of pods ready.
jsonPath: .status.readyReplicas
name: READY
type: integer
- description: The number of currently all pods.
jsonPath: .status.replicas
name: TOTAL
type: integer
- description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
jsonPath: .metadata.creationTimestamp
name: AGE
type: date
- description: The containers of currently cloneset.
jsonPath: .spec.template.spec.containers[*].name
name: CONTAINERS
priority: 1
type: string
- description: The images of currently cloneset.
jsonPath: .spec.template.spec.containers[*].image
name: IMAGES
priority: 1
type: string
- description: The selector of currently cloneset.
jsonPath: .status.labelSelector
name: SELECTOR
priority: 1
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: CloneSet is the Schema for the clonesets API
properties:
@ -356,11 +352,14 @@ spec:
- updatedReplicas
type: object
type: object
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
subresources:
scale:
labelSelectorPath: .status.labelSelector
specReplicasPath: .spec.replicas
statusReplicasPath: .status.replicas
status: {}
status:
acceptedNames:
kind: ""

View File

@ -1,31 +1,14 @@
{{- if .Values.crds.managed }}
---
apiVersion: apiextensions.k8s.io/v1beta1
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.9
controller-gen.kubebuilder.io/version: v0.5.0
creationTimestamp: null
name: containerrecreaterequests.apps.kruise.io
spec:
additionalPrinterColumns:
- JSONPath: .status.phase
description: Phase of this ContainerRecreateRequest.
name: PHASE
type: string
- JSONPath: .spec.podName
description: Pod name of this ContainerRecreateRequest.
name: POD
type: string
- JSONPath: .metadata.labels.crr\.apps\.kruise\.io/node-name
description: Pod name of this ContainerRecreateRequest.
name: NODE
type: string
- JSONPath: .metadata.creationTimestamp
description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
name: AGE
type: date
group: apps.kruise.io
names:
kind: ContainerRecreateRequest
@ -35,9 +18,26 @@ spec:
- crr
singular: containerrecreaterequest
scope: Namespaced
subresources:
status: {}
validation:
versions:
- additionalPrinterColumns:
- description: Phase of this ContainerRecreateRequest.
jsonPath: .status.phase
name: PHASE
type: string
- description: Pod name of this ContainerRecreateRequest.
jsonPath: .spec.podName
name: POD
type: string
- description: Pod name of this ContainerRecreateRequest.
jsonPath: .metadata.labels.crr\.apps\.kruise\.io/node-name
name: NODE
type: string
- description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
jsonPath: .metadata.creationTimestamp
name: AGE
type: date
name: v1alpha1
schema:
openAPIV3Schema:
description: ContainerRecreateRequest is the Schema for the containerrecreaterequests API
properties:
@ -162,11 +162,10 @@ spec:
- phase
type: object
type: object
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""

View File

@ -1,41 +1,14 @@
{{- if .Values.crds.managed }}
---
apiVersion: apiextensions.k8s.io/v1beta1
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.9
controller-gen.kubebuilder.io/version: v0.5.0
creationTimestamp: null
name: daemonsets.apps.kruise.io
spec:
additionalPrinterColumns:
- JSONPath: .status.desiredNumberScheduled
description: The desired number of pods.
name: DesiredNumber
type: integer
- JSONPath: .status.currentNumberScheduled
description: The current number of pods.
name: CurrentNumber
type: integer
- JSONPath: .status.updatedNumberScheduled
description: The updated number of pods.
name: UpdatedNumberScheduled
type: integer
- JSONPath: .metadata.creationTimestamp
description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
name: AGE
type: date
- JSONPath: .spec.template.spec.containers[*].name
description: The containers of currently daemonset.
name: CONTAINERS
priority: 1
type: string
- JSONPath: .spec.template.spec.containers[*].image
description: The images of currently advanced daemonset.
name: IMAGES
priority: 1
type: string
group: apps.kruise.io
names:
kind: DaemonSet
@ -45,9 +18,36 @@ spec:
- daemon
singular: daemonset
scope: Namespaced
subresources:
status: {}
validation:
versions:
- additionalPrinterColumns:
- description: The desired number of pods.
jsonPath: .status.desiredNumberScheduled
name: DesiredNumber
type: integer
- description: The current number of pods.
jsonPath: .status.currentNumberScheduled
name: CurrentNumber
type: integer
- description: The updated number of pods.
jsonPath: .status.updatedNumberScheduled
name: UpdatedNumberScheduled
type: integer
- description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
jsonPath: .metadata.creationTimestamp
name: AGE
type: date
- description: The containers of currently daemonset.
jsonPath: .spec.template.spec.containers[*].name
name: CONTAINERS
priority: 1
type: string
- description: The images of currently advanced daemonset.
jsonPath: .spec.template.spec.containers[*].image
name: IMAGES
priority: 1
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: DaemonSet is the Schema for the daemonsets API
properties:
@ -254,11 +254,10 @@ spec:
- updatedNumberScheduled
type: object
type: object
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""

View File

@ -1,39 +1,14 @@
{{- if .Values.crds.managed }}
---
apiVersion: apiextensions.k8s.io/v1beta1
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.9
controller-gen.kubebuilder.io/version: v0.5.0
creationTimestamp: null
name: imagepulljobs.apps.kruise.io
spec:
additionalPrinterColumns:
- JSONPath: .status.desired
description: Number of all nodes matched by this job
name: TOTAL
type: integer
- JSONPath: .status.active
description: Number of image pull task active
name: ACTIVE
type: integer
- JSONPath: .status.succeeded
description: Number of image pull task succeeded
name: SUCCEED
type: integer
- JSONPath: .status.failed
description: Number of image pull tasks failed
name: FAILED
type: integer
- JSONPath: .metadata.creationTimestamp
description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
name: AGE
type: date
- JSONPath: .status.message
description: Summary of status when job is failed
name: MESSAGE
type: string
group: apps.kruise.io
names:
kind: ImagePullJob
@ -41,9 +16,34 @@ spec:
plural: imagepulljobs
singular: imagepulljob
scope: Namespaced
subresources:
status: {}
validation:
versions:
- additionalPrinterColumns:
- description: Number of all nodes matched by this job
jsonPath: .status.desired
name: TOTAL
type: integer
- description: Number of image pull task active
jsonPath: .status.active
name: ACTIVE
type: integer
- description: Number of image pull task succeeded
jsonPath: .status.succeeded
name: SUCCEED
type: integer
- description: Number of image pull tasks failed
jsonPath: .status.failed
name: FAILED
type: integer
- description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
jsonPath: .metadata.creationTimestamp
name: AGE
type: date
- description: Summary of status when job is failed
jsonPath: .status.message
name: MESSAGE
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: ImagePullJob is the Schema for the imagepulljobs API
properties:
@ -207,11 +207,10 @@ spec:
- desired
type: object
type: object
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""

View File

@ -1,35 +1,14 @@
{{- if .Values.crds.managed }}
---
apiVersion: apiextensions.k8s.io/v1beta1
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.9
controller-gen.kubebuilder.io/version: v0.5.0
creationTimestamp: null
name: nodeimages.apps.kruise.io
spec:
additionalPrinterColumns:
- JSONPath: .status.desired
description: Number of all images on this node
name: DESIRED
type: integer
- JSONPath: .status.pulling
description: Number of image pull task active
name: PULLING
type: integer
- JSONPath: .status.succeeded
description: Number of image pull task succeeded
name: SUCCEED
type: integer
- JSONPath: .status.failed
description: Number of image pull tasks failed
name: FAILED
type: integer
- JSONPath: .metadata.creationTimestamp
description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
name: AGE
type: date
group: apps.kruise.io
names:
kind: NodeImage
@ -37,9 +16,30 @@ spec:
plural: nodeimages
singular: nodeimage
scope: Cluster
subresources:
status: {}
validation:
versions:
- additionalPrinterColumns:
- description: Number of all images on this node
jsonPath: .status.desired
name: DESIRED
type: integer
- description: Number of image pull task active
jsonPath: .status.pulling
name: PULLING
type: integer
- description: Number of image pull task succeeded
jsonPath: .status.succeeded
name: SUCCEED
type: integer
- description: Number of image pull tasks failed
jsonPath: .status.failed
name: FAILED
type: integer
- description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
jsonPath: .metadata.creationTimestamp
name: AGE
type: date
name: v1alpha1
schema:
openAPIV3Schema:
description: NodeImage is the Schema for the nodeimages API
properties:
@ -204,11 +204,10 @@ spec:
- desired
type: object
type: object
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""

View File

@ -1,41 +1,41 @@
{{- if .Values.crds.managed }}
---
apiVersion: apiextensions.k8s.io/v1beta1
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.9
controller-gen.kubebuilder.io/version: v0.5.0
creationTimestamp: null
name: sidecarsets.apps.kruise.io
spec:
additionalPrinterColumns:
- JSONPath: .status.matchedPods
description: The number of pods matched.
name: MATCHED
type: integer
- JSONPath: .status.updatedPods
description: The number of pods matched and updated.
name: UPDATED
type: integer
- JSONPath: .status.readyPods
description: The number of pods matched and ready.
name: READY
type: integer
- JSONPath: .metadata.creationTimestamp
description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
name: AGE
type: date
group: apps.kruise.io
names:
kind: SidecarSet
listKind: SidecarSetList
plural: sidecarsets
singular: sidecarset
preserveUnknownFields: false
scope: Cluster
subresources:
status: {}
validation:
versions:
- additionalPrinterColumns:
- description: The number of pods matched.
jsonPath: .status.matchedPods
name: MATCHED
type: integer
- description: The number of pods matched and updated.
jsonPath: .status.updatedPods
name: UPDATED
type: integer
- description: The number of pods matched and ready.
jsonPath: .status.readyPods
name: READY
type: integer
- description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
jsonPath: .metadata.creationTimestamp
name: AGE
type: date
name: v1alpha1
schema:
openAPIV3Schema:
description: SidecarSet is the Schema for the sidecarsets API
properties:
@ -273,11 +273,10 @@ spec:
- updatedPods
type: object
type: object
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""

View File

@ -1,52 +1,24 @@
{{- if .Values.crds.managed }}
---
apiVersion: apiextensions.k8s.io/v1beta1
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.9
controller-gen.kubebuilder.io/version: v0.5.0
name: statefulsets.apps.kruise.io
spec:
additionalPrinterColumns:
- JSONPath: .spec.replicas
description: The desired number of pods.
name: DESIRED
type: integer
- JSONPath: .status.replicas
description: The number of currently all pods.
name: CURRENT
type: integer
- JSONPath: .status.updatedReplicas
description: The number of pods updated.
name: UPDATED
type: integer
- JSONPath: .status.readyReplicas
description: The number of pods ready.
name: READY
type: integer
- JSONPath: .metadata.creationTimestamp
description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
name: AGE
type: date
- JSONPath: .spec.template.spec.containers[*].name
description: The containers of currently advanced statefulset.
name: CONTAINERS
priority: 1
type: string
- JSONPath: .spec.template.spec.containers[*].image
description: The images of currently advanced statefulset.
name: IMAGES
priority: 1
type: string
conversion:
strategy: Webhook
webhookClientConfig:
caBundle: Cg==
webhook:
clientConfig:
service:
name: kruise-webhook-service
namespace: kruise-system
path: /convert
conversionReviewVersions:
- v1
- v1beta1
group: apps.kruise.io
names:
kind: StatefulSet
@ -56,17 +28,40 @@ spec:
- sts
- asts
singular: statefulset
preserveUnknownFields: false
scope: Namespaced
subresources:
scale:
labelSelectorPath: .status.labelSelector
specReplicasPath: .spec.replicas
statusReplicasPath: .status.replicas
status: {}
version: v1alpha1
versions:
- name: v1alpha1
- additionalPrinterColumns:
- description: The desired number of pods.
jsonPath: .spec.replicas
name: DESIRED
type: integer
- description: The number of currently all pods.
jsonPath: .status.replicas
name: CURRENT
type: integer
- description: The number of pods updated.
jsonPath: .status.updatedReplicas
name: UPDATED
type: integer
- description: The number of pods ready.
jsonPath: .status.readyReplicas
name: READY
type: integer
- description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
jsonPath: .metadata.creationTimestamp
name: AGE
type: date
- description: The containers of currently advanced statefulset.
jsonPath: .spec.template.spec.containers[*].name
name: CONTAINERS
priority: 1
type: string
- description: The images of currently advanced statefulset.
jsonPath: .spec.template.spec.containers[*].image
name: IMAGES
priority: 1
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: StatefulSet is the Schema for the statefulsets API
@ -301,7 +296,44 @@ spec:
type: object
served: true
storage: false
- name: v1beta1
subresources:
scale:
labelSelectorPath: .status.labelSelector
specReplicasPath: .spec.replicas
statusReplicasPath: .status.replicas
status: {}
- additionalPrinterColumns:
- description: The desired number of pods.
jsonPath: .spec.replicas
name: DESIRED
type: integer
- description: The number of currently all pods.
jsonPath: .status.replicas
name: CURRENT
type: integer
- description: The number of pods updated.
jsonPath: .status.updatedReplicas
name: UPDATED
type: integer
- description: The number of pods ready.
jsonPath: .status.readyReplicas
name: READY
type: integer
- description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
jsonPath: .metadata.creationTimestamp
name: AGE
type: date
- description: The containers of currently advanced statefulset.
jsonPath: .spec.template.spec.containers[*].name
name: CONTAINERS
priority: 1
type: string
- description: The images of currently advanced statefulset.
jsonPath: .spec.template.spec.containers[*].image
name: IMAGES
priority: 1
type: string
name: v1beta1
schema:
openAPIV3Schema:
description: StatefulSet is the Schema for the statefulsets API
@ -579,6 +611,12 @@ spec:
type: object
served: true
storage: true
subresources:
scale:
labelSelectorPath: .status.labelSelector
specReplicasPath: .spec.replicas
statusReplicasPath: .status.replicas
status: {}
status:
acceptedNames:
kind: ""

View File

@ -1,35 +1,14 @@
{{- if .Values.crds.managed }}
---
apiVersion: apiextensions.k8s.io/v1beta1
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.9
controller-gen.kubebuilder.io/version: v0.5.0
creationTimestamp: null
name: uniteddeployments.apps.kruise.io
spec:
additionalPrinterColumns:
- JSONPath: .spec.replicas
description: The desired number of pods.
name: DESIRED
type: integer
- JSONPath: .status.replicas
description: The number of currently all pods.
name: CURRENT
type: integer
- JSONPath: .status.updatedReplicas
description: The number of pods updated.
name: UPDATED
type: integer
- JSONPath: .status.readyReplicas
description: The number of pods ready.
name: READY
type: integer
- JSONPath: .metadata.creationTimestamp
description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
name: AGE
type: date
group: apps.kruise.io
names:
kind: UnitedDeployment
@ -39,13 +18,30 @@ spec:
- ud
singular: uniteddeployment
scope: Namespaced
subresources:
scale:
labelSelectorPath: .status.selector
specReplicasPath: .spec.replicas
statusReplicasPath: .status.replicas
status: {}
validation:
versions:
- additionalPrinterColumns:
- description: The desired number of pods.
jsonPath: .spec.replicas
name: DESIRED
type: integer
- description: The number of currently all pods.
jsonPath: .status.replicas
name: CURRENT
type: integer
- description: The number of pods updated.
jsonPath: .status.updatedReplicas
name: UPDATED
type: integer
- description: The number of pods ready.
jsonPath: .status.readyReplicas
name: READY
type: integer
- description: CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.
jsonPath: .metadata.creationTimestamp
name: AGE
type: date
name: v1alpha1
schema:
openAPIV3Schema:
description: UnitedDeployment is the Schema for the uniteddeployments API
properties:
@ -647,11 +643,14 @@ spec:
- updatedReplicas
type: object
type: object
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
subresources:
scale:
labelSelectorPath: .status.selector
specReplicasPath: .spec.replicas
statusReplicasPath: .status.replicas
status: {}
status:
acceptedNames:
kind: ""

View File

@ -1,28 +1,14 @@
{{- if .Values.crds.managed }}
---
apiVersion: apiextensions.k8s.io/v1beta1
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.9
controller-gen.kubebuilder.io/version: v0.5.0
creationTimestamp: null
name: workloadspreads.apps.kruise.io
spec:
additionalPrinterColumns:
- JSONPath: .spec.targetRef.name
name: WorkloadName
type: string
- JSONPath: .spec.targetRef.kind
name: WorkloadKind
type: string
- JSONPath: .spec.scheduleStrategy.type[?(@ == "Adaptive")]
description: Whether use the adaptive reschedule strategy
name: Adaptive
type: boolean
- JSONPath: .metadata.creationTimestamp
name: Age
type: date
group: apps.kruise.io
names:
kind: WorkloadSpread
@ -32,9 +18,23 @@ spec:
- ws
singular: workloadspread
scope: Namespaced
subresources:
status: {}
validation:
versions:
- additionalPrinterColumns:
- jsonPath: .spec.targetRef.name
name: WorkloadName
type: string
- jsonPath: .spec.targetRef.kind
name: WorkloadKind
type: string
- description: Whether use the adaptive reschedule strategy
jsonPath: .spec.scheduleStrategy.type[?(@ == "Adaptive")]
name: Adaptive
type: boolean
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1alpha1
schema:
openAPIV3Schema:
description: WorkloadSpread is the Schema for the WorkloadSpread API
properties:
@ -88,6 +88,7 @@ spec:
patch:
description: Patch indicates patching podTemplate to the Pod.
type: object
x-kubernetes-preserve-unknown-fields: true
preferredNodeSelectorTerms:
description: Indicates the node preferred selector to form the subset.
items:
@ -181,14 +182,14 @@ spec:
description: DeletingPods is similar with CreatingPods and it contains information about pod deletion.
type: object
missingReplicas:
description: MissingReplicas is the number of replicas belong to this subset not be found. MissingReplicas > 0 indicates the subset is still missing MissingReplicas pods to create MissingReplicas = 0 indicates the subset already has enough pods, there is no need to create MissingReplicas = -1 indicates the subset's MaxReplicas not set, then there is no limit for pods number
description: MissingReplicas is the number of active replicas belong to this subset not be found. MissingReplicas > 0 indicates the subset is still missing MissingReplicas pods to create MissingReplicas = 0 indicates the subset already has enough pods, there is no need to create MissingReplicas = -1 indicates the subset's MaxReplicas not set, then there is no limit for pods number
format: int32
type: integer
name:
description: Name should be unique between all of the subsets under one WorkloadSpread.
type: string
replicas:
description: Replicas is the most recently observed number of replicas for subset.
description: Replicas is the most recently observed number of active replicas for subset.
format: int32
type: integer
required:
@ -199,11 +200,10 @@ spec:
type: array
type: object
type: object
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""

View File

@ -55,6 +55,7 @@ spec:
- --leader-election-namespace={{ .Values.installation.namespace }}
- --v={{ .Values.manager.log.level }}
- --feature-gates={{ .Values.featureGates }}
- --sync-period={{ .Values.manager.resyncPeriod }}
command:
- /manager
image: {{ .Values.manager.image.repository }}:{{ .Values.manager.image.tag }}
@ -85,6 +86,7 @@ spec:
port: {{ .Values.manager.healthProbe.port }}
resources:
{{- toYaml .Values.manager.resources | nindent 12 }}
hostNetwork: {{ .Values.manager.hostNetwork }}
terminationGracePeriodSeconds: 10
affinity:
podAntiAffinity:
@ -152,6 +154,7 @@ spec:
- --logtostderr=true
- --v=4
- --addr=:{{ .Values.daemon.port }}
- --feature-gates={{ .Values.featureGates }}
image: {{ .Values.manager.image.repository }}:{{ .Values.manager.image.tag }}
imagePullPolicy: Always
name: daemon

View File

@ -1,31 +1,14 @@
{{- if .Values.crds.managed }}
---
apiVersion: apiextensions.k8s.io/v1beta1
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.9
controller-gen.kubebuilder.io/version: v0.5.0
creationTimestamp: null
name: podunavailablebudgets.policy.kruise.io
spec:
additionalPrinterColumns:
- JSONPath: .status.unavailableAllowed
description: UnavailableAllowed number of pod unavailable that are currently allowed
name: Allowed
type: integer
- JSONPath: .status.currentAvailable
description: CurrentAvailable current number of available pods
name: Current
type: integer
- JSONPath: .status.desiredAvailable
description: DesiredAvailable minimum desired number of available pods
name: Desired
type: integer
- JSONPath: .status.totalReplicas
description: TotalReplicas total number of pods counted by this budget
name: Total
type: integer
group: policy.kruise.io
names:
kind: PodUnavailableBudget
@ -35,9 +18,26 @@ spec:
- pub
singular: podunavailablebudget
scope: Namespaced
subresources:
status: {}
validation:
versions:
- additionalPrinterColumns:
- description: UnavailableAllowed number of pod unavailable that are currently allowed
jsonPath: .status.unavailableAllowed
name: Allowed
type: integer
- description: CurrentAvailable current number of available pods
jsonPath: .status.currentAvailable
name: Current
type: integer
- description: DesiredAvailable minimum desired number of available pods
jsonPath: .status.desiredAvailable
name: Desired
type: integer
- description: TotalReplicas total number of pods counted by this budget
jsonPath: .status.totalReplicas
name: Total
type: integer
name: v1alpha1
schema:
openAPIV3Schema:
description: PodUnavailableBudget is the Schema for the podunavailablebudgets API
properties:
@ -130,7 +130,7 @@ spec:
format: int64
type: integer
totalReplicas:
description: TotalReplicas total number of pods counted by this budget
description: TotalReplicas total number of pods counted by this unavailable budget
format: int32
type: integer
unavailableAllowed:
@ -150,11 +150,10 @@ spec:
- unavailableAllowed
type: object
type: object
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""

View File

@ -37,6 +37,36 @@ metadata:
creationTimestamp: null
name: kruise-manager-role
rules:
- apiGroups:
- ""
resources:
- configmaps
verbs:
- create
- delete
- get
- list
- update
- watch
- apiGroups:
- ""
resources:
- namespaces
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- secrets
verbs:
- create
- delete
- get
- list
- update
- watch
- apiGroups:
{{ toYaml .Values.installation.roleListGroups }}
resources:
@ -528,6 +558,14 @@ rules:
- get
- patch
- update
- apiGroups:
- ""
resources:
- secrets
verbs:
- get
- list
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding

View File

@ -1,7 +1,6 @@
apiVersion: admissionregistration.k8s.io/v1beta1
apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
metadata:
creationTimestamp: null
name: kruise-mutating-webhook-configuration
annotations:
template: ""
@ -13,6 +12,10 @@ webhooks:
namespace: {{ .Values.installation.namespace }}
path: /mutate-apps-kruise-io-v1alpha1-advancedcronjob
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: madvancedcronjob.kb.io
rules:
@ -32,6 +35,10 @@ webhooks:
namespace: {{ .Values.installation.namespace }}
path: /mutate-apps-kruise-io-v1alpha1-broadcastjob
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: mbroadcastjob.kb.io
rules:
@ -51,6 +58,10 @@ webhooks:
namespace: {{ .Values.installation.namespace }}
path: /mutate-apps-kruise-io-v1alpha1-cloneset
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: mcloneset.kb.io
rules:
@ -70,6 +81,10 @@ webhooks:
namespace: {{ .Values.installation.namespace }}
path: /mutate-apps-kruise-io-v1alpha1-containerrecreaterequest
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: mcontainerrecreaterequest.kb.io
rules:
@ -89,6 +104,10 @@ webhooks:
namespace: {{ .Values.installation.namespace }}
path: /mutate-apps-kruise-io-v1alpha1-daemonset
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: mdaemonset.kb.io
rules:
@ -108,6 +127,10 @@ webhooks:
namespace: {{ .Values.installation.namespace }}
path: /mutate-apps-kruise-io-v1alpha1-imagepulljob
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: mimagepulljob.kb.io
rules:
@ -127,6 +150,10 @@ webhooks:
namespace: {{ .Values.installation.namespace }}
path: /mutate-apps-kruise-io-v1alpha1-nodeimage
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: mnodeimage.kb.io
rules:
@ -147,6 +174,10 @@ webhooks:
namespace: {{ .Values.installation.namespace }}
path: /mutate-pod
failurePolicy: {{ .Values.webhookConfiguration.failurePolicy.pods }}
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: mpod.kb.io
namespaceSelector:
@ -170,6 +201,10 @@ webhooks:
namespace: {{ .Values.installation.namespace }}
path: /mutate-apps-kruise-io-v1alpha1-sidecarset
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: msidecarset.kb.io
rules:
@ -189,6 +224,10 @@ webhooks:
namespace: {{ .Values.installation.namespace }}
path: /mutate-apps-kruise-io-statefulset
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: mstatefulset.kb.io
rules:
@ -209,6 +248,10 @@ webhooks:
namespace: {{ .Values.installation.namespace }}
path: /mutate-apps-kruise-io-v1alpha1-uniteddeployment
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: muniteddeployment.kb.io
rules:
@ -223,16 +266,15 @@ webhooks:
- uniteddeployments
---
apiVersion: admissionregistration.k8s.io/v1beta1
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
metadata:
creationTimestamp: null
name: kruise-validating-webhook-configuration
annotations:
template: ""
webhooks:
{{- if contains "PodWebhook=false" .Values.featureGates }}{{ else }}
{{- if or (contains "PodUnavailableBudgetUpdateGate=true" .Values.featureGates) (contains "PodUnavailableBudgetDeleteGate=true" .Values.featureGates) (contains "WorkloadSpread=true" .Values.featureGates) }}
{{- if or (contains "AllAlpha=true" .Values.featureGates) (contains "PodUnavailableBudgetUpdateGate=true" .Values.featureGates) (contains "PodUnavailableBudgetDeleteGate=true" .Values.featureGates) (contains "WorkloadSpread=true" .Values.featureGates) }}
- clientConfig:
caBundle: Cg==
service:
@ -240,6 +282,10 @@ webhooks:
namespace: {{ .Values.installation.namespace }}
path: /validate-pod
failurePolicy: {{ .Values.webhookConfiguration.failurePolicy.pods }}
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: vpod.kb.io
namespaceSelector:
@ -252,16 +298,16 @@ webhooks:
apiVersions:
- v1
operations:
{{- if contains "PodUnavailableBudgetUpdateGate=true" .Values.featureGates }}
{{- if or (contains "AllAlpha=true" .Values.featureGates) (contains "PodUnavailableBudgetUpdateGate=true" .Values.featureGates) }}
- UPDATE
{{- else }}{{- end }}
{{- if or (contains "PodUnavailableBudgetDeleteGate=true" .Values.featureGates) (contains "WorkloadSpread=true" .Values.featureGates) }}
{{- if or (contains "AllAlpha=true" .Values.featureGates) (contains "PodUnavailableBudgetDeleteGate=true" .Values.featureGates) (contains "WorkloadSpread=true" .Values.featureGates) }}
- DELETE
{{- else }}{{- end }}
resources:
- pods
{{- else }}{{- end }}
{{- if or (contains "PodUnavailableBudgetDeleteGate=true" .Values.featureGates) (contains "WorkloadSpread=true" .Values.featureGates) }}
{{- if or (contains "AllAlpha=true" .Values.featureGates) (contains "PodUnavailableBudgetDeleteGate=true" .Values.featureGates) (contains "WorkloadSpread=true" .Values.featureGates) }}
- clientConfig:
caBundle: Cg==
service:
@ -269,6 +315,10 @@ webhooks:
namespace: kruise-system
path: /validate-pod
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
name: vpodeviction.kb.io
namespaceSelector:
matchExpressions:
@ -285,6 +335,29 @@ webhooks:
- pods/eviction
{{- else }}{{- end }}
{{- end }}
- clientConfig:
caBundle: Cg==
service:
name: kruise-webhook-service
namespace: {{ .Values.installation.namespace }}
path: /validate-apps-kruise-io-v1alpha1-resourcedistribution
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: vresourcedistribution.kb.io
rules:
- apiGroups:
- apps.kruise.io
apiVersions:
- v1alpha1
operations:
- CREATE
- UPDATE
resources:
- resourcedistributions
- clientConfig:
caBundle: Cg==
service:
@ -292,6 +365,10 @@ webhooks:
namespace: {{ .Values.installation.namespace }}
path: /validate-apps-kruise-io-v1alpha1-advancedcronjob
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: vadvancedcronjob.kb.io
rules:
@ -311,6 +388,10 @@ webhooks:
namespace: {{ .Values.installation.namespace }}
path: /validate-apps-kruise-io-v1alpha1-broadcastjob
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: vbroadcastjob.kb.io
rules:
@ -330,6 +411,10 @@ webhooks:
namespace: {{ .Values.installation.namespace }}
path: /validate-apps-deployment
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: vbuiltindeployment.kb.io
objectSelector:
@ -352,6 +437,10 @@ webhooks:
namespace: {{ .Values.installation.namespace }}
path: /validate-apps-replicaset
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: vbuiltinreplicaset.kb.io
objectSelector:
@ -374,6 +463,10 @@ webhooks:
namespace: {{ .Values.installation.namespace }}
path: /validate-apps-statefulset
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: vbuiltinstatefulset.kb.io
objectSelector:
@ -396,6 +489,10 @@ webhooks:
namespace: {{ .Values.installation.namespace }}
path: /validate-apps-kruise-io-v1alpha1-cloneset
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: vcloneset.kb.io
rules:
@ -416,6 +513,10 @@ webhooks:
namespace: {{ .Values.installation.namespace }}
path: /validate-customresourcedefinition
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: vcustomresourcedefinition.kb.io
objectSelector:
@ -439,6 +540,10 @@ webhooks:
namespace: {{ .Values.installation.namespace }}
path: /validate-apps-kruise-io-v1alpha1-daemonset
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: vdaemonset.kb.io
rules:
@ -458,6 +563,10 @@ webhooks:
namespace: {{ .Values.installation.namespace }}
path: /validate-apps-kruise-io-v1alpha1-imagepulljob
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: vimagepulljob.kb.io
rules:
@ -477,6 +586,10 @@ webhooks:
namespace: {{ .Values.installation.namespace }}
path: /validate-namespace
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: vnamespace.kb.io
objectSelector:
@ -499,6 +612,10 @@ webhooks:
namespace: {{ .Values.installation.namespace }}
path: /validate-apps-kruise-io-v1alpha1-nodeimage
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: vnodeimage.kb.io
rules:
@ -518,6 +635,10 @@ webhooks:
namespace: kruise-system
path: /validate-policy-kruise-io-podunavailablebudget
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
name: vpodunavailablebudget.kb.io
rules:
- apiGroups:
@ -536,6 +657,10 @@ webhooks:
namespace: {{ .Values.installation.namespace }}
path: /validate-apps-kruise-io-v1alpha1-sidecarset
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: vsidecarset.kb.io
rules:
@ -555,6 +680,10 @@ webhooks:
namespace: {{ .Values.installation.namespace }}
path: /validate-apps-kruise-io-statefulset
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: vstatefulset.kb.io
rules:
@ -576,6 +705,10 @@ webhooks:
namespace: {{ .Values.installation.namespace }}
path: /validate-apps-kruise-io-v1alpha1-uniteddeployment
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
timeoutSeconds: {{ .Values.webhookConfiguration.timeoutSeconds }}
name: vuniteddeployment.kb.io
rules:
@ -596,6 +729,10 @@ webhooks:
namespace: kruise-system
path: /validate-apps-kruise-io-v1alpha1-workloadspread
failurePolicy: Fail
admissionReviewVersions:
- v1
- v1beta1
sideEffects: None
name: vworkloadspread.kb.io
rules:
- apiGroups:

View File

@ -20,7 +20,7 @@ manager:
replicas: 2
image:
repository: openkruise/kruise-manager
tag: v0.10.0
tag: v1.0.0-alpha.1
webhook:
port: 9876
metrics:
@ -28,6 +28,8 @@ manager:
healthProbe:
port: 8000
resyncPeriod: "0"
# resources of kruise-manager container
resources:
limits:
@ -37,6 +39,8 @@ manager:
cpu: 100m
memory: 256Mi
hostNetwork: false
nodeAffinity: {}
nodeSelector: {}
tolerations: []