From cb5f744fa9dcca7db2b48c6af9a80ebb82574e49 Mon Sep 17 00:00:00 2001 From: Matthias Wessendorf Date: Wed, 12 Aug 2020 09:40:23 +0200 Subject: [PATCH] :lipstick: clean-up of old 0 replica borker deployments, not needed for 0.17 Signed-off-by: Matthias Wessendorf --- .../deployments/broker-filter.yaml | 76 ------------------- .../deployments/broker-ingress.yaml | 76 ------------------- 2 files changed, 152 deletions(-) diff --git a/config/brokers/mt-channel-broker/deployments/broker-filter.yaml b/config/brokers/mt-channel-broker/deployments/broker-filter.yaml index 50ad2c50761..87f55c860e3 100644 --- a/config/brokers/mt-channel-broker/deployments/broker-filter.yaml +++ b/config/brokers/mt-channel-broker/deployments/broker-filter.yaml @@ -12,82 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -# This one is a placeholder to bring the replicas down to zero. -# Remove this after .16 ships. -apiVersion: apps/v1 -kind: Deployment -metadata: - name: broker-filter - namespace: knative-eventing - labels: - eventing.knative.dev/release: devel -spec: - replicas: 0 - selector: - matchLabels: - eventing.knative.dev/brokerRole: filter - template: - metadata: - labels: - eventing.knative.dev/brokerRole: filter - eventing.knative.dev/release: devel - spec: - serviceAccountName: mt-broker-filter - containers: - - name: filter - terminationMessagePolicy: FallbackToLogsOnError - image: ko://knative.dev/eventing/cmd/mtbroker/filter - livenessProbe: - failureThreshold: 3 - httpGet: - path: /healthz - port: 8080 - scheme: HTTP - initialDelaySeconds: 5 - periodSeconds: 2 - successThreshold: 1 - timeoutSeconds: 1 - resources: - requests: - cpu: 100m - memory: 100Mi - ports: - - containerPort: 8080 - name: http - protocol: TCP - - containerPort: 9092 - name: metrics - protocol: TCP - terminationMessagePath: /dev/termination-log - env: - - name: SYSTEM_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: NAMESPACE - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: metadata.namespace - - name: POD_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: metadata.name - - name: CONTAINER_NAME - value: filter - - name: CONFIG_LOGGING_NAME - value: config-logging - - name: CONFIG_OBSERVABILITY_NAME - value: config-observability - - name: METRICS_DOMAIN - value: knative.dev/internal/eventing - - name: FILTER_PORT - value: "8080" - securityContext: - allowPrivilegeEscalation: false - ---- apiVersion: apps/v1 kind: Deployment metadata: diff --git a/config/brokers/mt-channel-broker/deployments/broker-ingress.yaml b/config/brokers/mt-channel-broker/deployments/broker-ingress.yaml index 570193227a9..0309693a0c9 100644 --- a/config/brokers/mt-channel-broker/deployments/broker-ingress.yaml +++ b/config/brokers/mt-channel-broker/deployments/broker-ingress.yaml @@ -12,82 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -# This one is a placeholder to bring the replicas down to zero. -# Remove this after .16 ships. -apiVersion: apps/v1 -kind: Deployment -metadata: - name: broker-ingress - namespace: knative-eventing - labels: - eventing.knative.dev/release: devel -spec: - replicas: 0 - selector: - matchLabels: - eventing.knative.dev/brokerRole: ingress - template: - metadata: - labels: - eventing.knative.dev/brokerRole: ingress - eventing.knative.dev/release: devel - spec: - serviceAccountName: mt-broker-ingress - containers: - - name: ingress - terminationMessagePolicy: FallbackToLogsOnError - image: ko://knative.dev/eventing/cmd/mtbroker/ingress - livenessProbe: - failureThreshold: 3 - httpGet: - path: /healthz - port: 8080 - scheme: HTTP - initialDelaySeconds: 5 - periodSeconds: 2 - successThreshold: 1 - timeoutSeconds: 1 - resources: - requests: - cpu: 100m - memory: 100Mi - ports: - - containerPort: 8080 - name: http - protocol: TCP - - containerPort: 9092 - name: metrics - protocol: TCP - terminationMessagePath: /dev/termination-log - env: - - name: SYSTEM_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - - name: NAMESPACE - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: metadata.namespace - - name: POD_NAME - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: metadata.name - - name: CONTAINER_NAME - value: ingress - - name: CONFIG_LOGGING_NAME - value: config-logging - - name: CONFIG_OBSERVABILITY_NAME - value: config-observability - - name: METRICS_DOMAIN - value: knative.dev/internal/eventing - - name: INGRESS_PORT - value: "8080" - securityContext: - allowPrivilegeEscalation: false - ---- apiVersion: apps/v1 kind: Deployment metadata: