Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update k8s version #1701

Merged
merged 27 commits into from
Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
4a40de9
fix
odubajDT Sep 13, 2023
cd698fa
fix metrics-operator
odubajDT Sep 13, 2023
aaf4333
fix lifecycle-operator
odubajDT Sep 13, 2023
37e0c34
regenerate crds
odubajDT Sep 14, 2023
a9845ea
fix
odubajDT Sep 14, 2023
61deb3f
fix tests
odubajDT Sep 14, 2023
8b6abb8
fix
odubajDT Sep 14, 2023
aaf132f
Update Makefile to use v1.27.3
RealAnna Sep 18, 2023
a043623
fix(mlifecycle-operator): updated test env
RealAnna Sep 18, 2023
c7e27c7
fix(mlifecycle-operator): unremove status update
RealAnna Sep 18, 2023
0965613
fix(mlifecycle-operator): unremove status update
RealAnna Sep 18, 2023
aefc3f7
fix(mlifecycle-operator): fix worload instance test
RealAnna Sep 18, 2023
15bd08e
fix(mlifecycle-operator): fix app status
RealAnna Sep 18, 2023
59e7e88
fix(mlifecycle-operator): go mod
RealAnna Sep 18, 2023
c05ff77
fix(mlifecycle-operator): go mod
RealAnna Sep 18, 2023
5ff14a0
fix(mlifecycle-operator): remove unupdated status
RealAnna Sep 18, 2023
6fb0777
revert status removal
odubajDT Sep 19, 2023
8414d7f
fix(klt-cert-manager): make reader public
RealAnna Sep 19, 2023
9b8066b
fix(klt-cert-manager): make cert-manager like before fix mains
RealAnna Sep 19, 2023
1dc0b15
fix(lifecycle-operator): fix failing unit tests
RealAnna Sep 19, 2023
535c2f6
fix(lifecycle-operator): update makefile
RealAnna Sep 19, 2023
938144e
fix(lifecycle-operator): removed bogus log
RealAnna Sep 19, 2023
01eab90
fix unit test
odubajDT Sep 19, 2023
a7f579d
fix test
odubajDT Sep 19, 2023
933e079
update helm CRDs
odubajDT Sep 19, 2023
39df7a1
bump version to latest
odubajDT Sep 19, 2023
1695295
Update lifecycle-operator/main.go
odubajDT Sep 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/actions/deploy-klt-on-cluster/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ inputs:
required: false
description: "Version of kind that should be used"
# renovate: datasource=github-releases depName=kubernetes-sigs/kind
default: "v0.17.0"
default: "v0.18.0"
k8s-version:
required: false
description: "Kubernetes that should be used"
# renovate: datasource=github-releases depName=kubernetes/kubernetes
default: "v1.25.3"
default: "v1.27.3"
runtime_tag:
description: "Tag for the runner image"
required: true
Expand Down
66 changes: 49 additions & 17 deletions .github/scripts/.helm-tests/default/result.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4170,8 +4170,6 @@ spec:
type: integer
grpc:
description: GRPC specifies an action involving a GRPC port.
This is a beta field and requires enabling GRPCContainerProbe
feature gate.
properties:
port:
description: Port number of the gRPC service. Number must
Expand Down Expand Up @@ -4373,8 +4371,6 @@ spec:
type: integer
grpc:
description: GRPC specifies an action involving a GRPC port.
This is a beta field and requires enabling GRPCContainerProbe
feature gate.
properties:
port:
description: Port number of the gRPC service. Number must
Expand Down Expand Up @@ -4496,6 +4492,26 @@ spec:
format: int32
type: integer
type: object
resizePolicy:
description: Resources resize policy for the container.
items:
description: ContainerResizePolicy represents resource resize
policy for the container.
properties:
resourceName:
description: 'Name of the resource to which this resource
resize policy applies. Supported values: cpu, memory.'
type: string
restartPolicy:
description: Restart policy to apply when specified resource
is resized. If not specified, it defaults to NotRequired.
type: string
required:
- resourceName
- restartPolicy
type: object
type: array
x-kubernetes-list-type: atomic
resources:
description: 'Compute Resources required by this container. Cannot
be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
Expand Down Expand Up @@ -4542,9 +4558,29 @@ spec:
description: 'Requests describes the minimum amount of compute
resources required. If Requests is omitted for a container,
it defaults to Limits if that is explicitly specified, otherwise
to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
to an implementation-defined value. Requests cannot exceed
Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
type: object
type: object
restartPolicy:
description: 'RestartPolicy defines the restart behavior of individual
containers in a pod. This field may only be set for init containers,
and the only allowed value is "Always". For non-init containers
or when this field is not specified, the restart behavior is
defined by the Pod''s restart policy and the container type.
Setting the RestartPolicy as "Always" for the init container
will have the following effect: this init container will be
continually restarted on exit until all regular containers have
terminated. Once all regular containers have completed, all
init containers with restartPolicy "Always" will be shut down.
This lifecycle differs from normal init containers and is often
referred to as a "sidecar" container. Although this init container
still starts in the init container sequence, it does not wait
for the container to complete before proceeding to the next
init container. Instead, the next init container starts immediately
after this init container is started, or after any startupProbe
has successfully completed.'
type: string
securityContext:
description: 'SecurityContext defines the security options the
container should be run with. If set, the fields of SecurityContext
Expand Down Expand Up @@ -4664,7 +4700,8 @@ spec:
in a file on the node should be used. The profile must
be preconfigured on the node to work. Must be a descending
path, relative to the kubelet's configured seccomp profile
location. Must only be set if type is "Localhost".
location. Must be set if type is "Localhost". Must NOT
be set for any other type.
type: string
type:
description: "type indicates which kind of seccomp profile
Expand Down Expand Up @@ -4696,15 +4733,12 @@ spec:
type: string
hostProcess:
description: HostProcess determines if a container should
be run as a 'Host Process' container. This field is
alpha-level and will only be honored by components that
enable the WindowsHostProcessContainers feature flag.
Setting this field without the feature flag will result
in errors when validating the Pod. All of a Pod's containers
must have the same effective HostProcess value (it is
not allowed to have a mix of HostProcess containers
and non-HostProcess containers). In addition, if HostProcess
is true then HostNetwork must also be set to true.
be run as a 'Host Process' container. All of a Pod's
containers must have the same effective HostProcess
value (it is not allowed to have a mix of HostProcess
containers and non-HostProcess containers). In addition,
if HostProcess is true then HostNetwork must also be
set to true.
type: boolean
runAsUserName:
description: The UserName in Windows to run the entrypoint
Expand Down Expand Up @@ -4750,8 +4784,6 @@ spec:
type: integer
grpc:
description: GRPC specifies an action involving a GRPC port.
This is a beta field and requires enabling GRPCContainerProbe
feature gate.
properties:
port:
description: Port number of the gRPC service. Number must
Expand Down
2 changes: 2 additions & 0 deletions docs/content/en/docs/crd-ref/lifecycle/v1alpha3/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ _Appears in:_
| `envFrom` _[EnvFromSource](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#envfromsource-v1-core) array_ | List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. |
| `env` _[EnvVar](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#envvar-v1-core) array_ | List of environment variables to set in the container. Cannot be updated. |
| `resources` _[ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#resourcerequirements-v1-core)_ | Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
| `resizePolicy` _[ContainerResizePolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#containerresizepolicy-v1-core) array_ | Resources resize policy for the container. |
| `restartPolicy` _[ContainerRestartPolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#containerrestartpolicy-v1-core)_ | RestartPolicy defines the restart behavior of individual containers in a pod. This field may only be set for init containers, and the only allowed value is "Always". For non-init containers or when this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Setting the RestartPolicy as "Always" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy "Always" will be shut down. This lifecycle differs from normal init containers and is often referred to as a "sidecar" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed. |
| `volumeMounts` _[VolumeMount](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#volumemount-v1-core) array_ | Pod volumes to mount into the container's filesystem. Cannot be updated. |
| `volumeDevices` _[VolumeDevice](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#volumedevice-v1-core) array_ | volumeDevices is the list of block devices to be used by the container. |
| `livenessProbe` _[Probe](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#probe-v1-core)_ | Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes |
Expand Down
66 changes: 49 additions & 17 deletions helm/chart/templates/keptntaskdefinition-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -614,8 +614,6 @@ spec:
type: integer
grpc:
description: GRPC specifies an action involving a GRPC port.
This is a beta field and requires enabling GRPCContainerProbe
feature gate.
properties:
port:
description: Port number of the gRPC service. Number must
Expand Down Expand Up @@ -817,8 +815,6 @@ spec:
type: integer
grpc:
description: GRPC specifies an action involving a GRPC port.
This is a beta field and requires enabling GRPCContainerProbe
feature gate.
properties:
port:
description: Port number of the gRPC service. Number must
Expand Down Expand Up @@ -940,6 +936,26 @@ spec:
format: int32
type: integer
type: object
resizePolicy:
description: Resources resize policy for the container.
items:
description: ContainerResizePolicy represents resource resize
policy for the container.
properties:
resourceName:
description: 'Name of the resource to which this resource
resize policy applies. Supported values: cpu, memory.'
type: string
restartPolicy:
description: Restart policy to apply when specified resource
is resized. If not specified, it defaults to NotRequired.
type: string
required:
- resourceName
- restartPolicy
type: object
type: array
x-kubernetes-list-type: atomic
resources:
description: 'Compute Resources required by this container. Cannot
be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
Expand Down Expand Up @@ -986,9 +1002,29 @@ spec:
description: 'Requests describes the minimum amount of compute
resources required. If Requests is omitted for a container,
it defaults to Limits if that is explicitly specified, otherwise
to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
to an implementation-defined value. Requests cannot exceed
Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
type: object
type: object
restartPolicy:
description: 'RestartPolicy defines the restart behavior of individual
containers in a pod. This field may only be set for init containers,
and the only allowed value is "Always". For non-init containers
or when this field is not specified, the restart behavior is
defined by the Pod''s restart policy and the container type.
Setting the RestartPolicy as "Always" for the init container
will have the following effect: this init container will be
continually restarted on exit until all regular containers have
terminated. Once all regular containers have completed, all
init containers with restartPolicy "Always" will be shut down.
This lifecycle differs from normal init containers and is often
referred to as a "sidecar" container. Although this init container
still starts in the init container sequence, it does not wait
for the container to complete before proceeding to the next
init container. Instead, the next init container starts immediately
after this init container is started, or after any startupProbe
has successfully completed.'
type: string
securityContext:
description: 'SecurityContext defines the security options the
container should be run with. If set, the fields of SecurityContext
Expand Down Expand Up @@ -1108,7 +1144,8 @@ spec:
in a file on the node should be used. The profile must
be preconfigured on the node to work. Must be a descending
path, relative to the kubelet's configured seccomp profile
location. Must only be set if type is "Localhost".
location. Must be set if type is "Localhost". Must NOT
be set for any other type.
type: string
type:
description: "type indicates which kind of seccomp profile
Expand Down Expand Up @@ -1140,15 +1177,12 @@ spec:
type: string
hostProcess:
description: HostProcess determines if a container should
be run as a 'Host Process' container. This field is
alpha-level and will only be honored by components that
enable the WindowsHostProcessContainers feature flag.
Setting this field without the feature flag will result
in errors when validating the Pod. All of a Pod's containers
must have the same effective HostProcess value (it is
not allowed to have a mix of HostProcess containers
and non-HostProcess containers). In addition, if HostProcess
is true then HostNetwork must also be set to true.
be run as a 'Host Process' container. All of a Pod's
containers must have the same effective HostProcess
value (it is not allowed to have a mix of HostProcess
containers and non-HostProcess containers). In addition,
if HostProcess is true then HostNetwork must also be
set to true.
type: boolean
runAsUserName:
description: The UserName in Windows to run the entrypoint
Expand Down Expand Up @@ -1194,8 +1228,6 @@ spec:
type: integer
grpc:
description: GRPC specifies an action involving a GRPC port.
This is a beta field and requires enabling GRPCContainerProbe
feature gate.
properties:
port:
description: Port number of the gRPC service. Number must
Expand Down
Loading
Loading