Skip to content

Commit

Permalink
Sync upstream release
Browse files Browse the repository at this point in the history
  • Loading branch information
ReToCode authored May 29, 2024
1 parent 7707fe2 commit c2b56f6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
16 changes: 12 additions & 4 deletions openshift/release/artifacts/serving-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3192,9 +3192,6 @@ spec:
- name: Config Name
type: string
jsonPath: ".metadata.labels['serving\\.knative\\.dev/configuration']"
- name: K8s Service Name
type: string
jsonPath: ".status.serviceName"
- name: Generation
type: string # int in string form :(
jsonPath: ".metadata.labels['serving\\.knative\\.dev/configurationGeneration']"
Expand Down Expand Up @@ -8094,6 +8091,17 @@ spec:
app.kubernetes.io/name: knative-serving
app.kubernetes.io/version: "release-v1.14"
spec:
# To avoid node becoming SPOF, spread our replicas to different nodes.
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchLabels:
app: activator
topologyKey: kubernetes.io/hostname
weight: 100

serviceAccountName: activator
containers:
- name: activator
Expand Down Expand Up @@ -8647,7 +8655,7 @@ spec:
scheme: HTTPS
port: 8443
livenessProbe:
periodSeconds: 1
periodSeconds: 10
httpGet:
scheme: HTTPS
port: 8443
Expand Down
3 changes: 0 additions & 3 deletions openshift/release/artifacts/serving-crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2780,9 +2780,6 @@ spec:
- name: Config Name
type: string
jsonPath: ".metadata.labels['serving\\.knative\\.dev/configuration']"
- name: K8s Service Name
type: string
jsonPath: ".status.serviceName"
- name: Generation
type: string # int in string form :(
jsonPath: ".metadata.labels['serving\\.knative\\.dev/configurationGeneration']"
Expand Down

0 comments on commit c2b56f6

Please sign in to comment.