diff options
author | Frederic Gurr | 2022-06-13 10:42:43 +0000 |
---|---|---|
committer | Frederic Gurr | 2022-06-13 10:42:43 +0000 |
commit | bb11135ac6dacf022eaa4eb163ac4d62c30171c1 (patch) | |
tree | 5424e7b188249dc037f706fb690d3b5f6fb25ba0 | |
parent | 46c17796c84b41d91023af310c49fabe47083363 (diff) | |
download | org.eclipse.simrel.tools-bb11135ac6dacf022eaa4eb163ac4d62c30171c1.tar.gz org.eclipse.simrel.tools-bb11135ac6dacf022eaa4eb163ac4d62c30171c1.tar.xz org.eclipse.simrel.tools-bb11135ac6dacf022eaa4eb163ac4d62c30171c1.zip |
Add infocenter 2022-06
Change-Id: I77f72505fc1ded6c58202fab7a5d209bd2f10f8e
-rw-r--r-- | infoCenter/k8s/2022-06/deployment.yml | 75 | ||||
-rw-r--r-- | infoCenter/k8s/2022-06/route.yml | 30 | ||||
-rw-r--r-- | infoCenter/k8s/2022-06/service.yml | 23 |
3 files changed, 128 insertions, 0 deletions
diff --git a/infoCenter/k8s/2022-06/deployment.yml b/infoCenter/k8s/2022-06/deployment.yml new file mode 100644 index 0000000..2437fb4 --- /dev/null +++ b/infoCenter/k8s/2022-06/deployment.yml @@ -0,0 +1,75 @@ +#******************************************************************************* +# Copyright (c) 2021 Eclipse Foundation and others. +# This program and the accompanying materials are made available +# under the terms of the Eclipse Public License 2.0 +# which is available at http://www.eclipse.org/legal/epl-v20.html, +# or the MIT License which is available at https://opensource.org/licenses/MIT. +# SPDX-License-Identifier: EPL-2.0 OR MIT +#******************************************************************************* +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + infocenter.version: "2022-06" + namespace: "infocenter" + name: "infocenter-2022-06" +spec: + replicas: 1 + selector: + matchLabels: + infocenter.version: "2022-06" + serviceName: "infocenter-2022-06" + template: + metadata: + name: "infocenter-2022-06" + labels: + infocenter.version: "2022-06" + spec: + affinity: + nodeAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 1 + preference: + matchExpressions: + - key: speed + operator: NotIn + values: + - fast + terminationGracePeriodSeconds: 180 + containers: + - name: infocenter-2022-06 + image: eclipsecbi/eclipse-infocenter:2022-06@sha256:f73e175817c3fb77002d9f90f88f4e61e62e2f3177e196c4e3ec0f29e70bf8df + imagePullPolicy: IfNotPresent + command: + - /infocenter/startDockerInfoCenter.sh + livenessProbe: + httpGet: + path: /help/index.jsp + port: 8086 + scheme: HTTP + initialDelaySeconds: 480 + periodSeconds: 60 + failureThreshold: 2 + timeoutSeconds: 90 + readinessProbe: + httpGet: + path: /help/index.jsp + port: 8086 + periodSeconds: 60 + timeoutSeconds: 90 + initialDelaySeconds: 60 + ports: + - containerPort: 8086 + protocol: TCP + resources: + requests: + cpu: 500m + limits: + cpu: 2 + memory: 1.5Gi + volumeMounts: + - name: workspace + mountPath: "/infocenter/workspace" + volumes: + - name: workspace + emptyDir: {} diff --git a/infoCenter/k8s/2022-06/route.yml b/infoCenter/k8s/2022-06/route.yml new file mode 100644 index 0000000..65caba5 --- /dev/null +++ b/infoCenter/k8s/2022-06/route.yml @@ -0,0 +1,30 @@ +#******************************************************************************* +# Copyright (c) 2021 Eclipse Foundation and others. +# This program and the accompanying materials are made available +# under the terms of the Eclipse Public License 2.0 +# which is available at http://www.eclipse.org/legal/epl-v20.html, +# or the MIT License which is available at https://opensource.org/licenses/MIT. +# SPDX-License-Identifier: EPL-2.0 OR MIT +#******************************************************************************* +apiVersion: "route.openshift.io/v1" +kind: "Route" +metadata: + labels: + infocenter.version: "2022-06" + namespace: "infocenter" + annotations: + haproxy.router.openshift.io/timeout: 60s + haproxy.router.openshift.io/rewrite-target: /help + name: "infocenter-2022-06" +spec: + host: "help.eclipse.org" + path: "/2022-06" + port: + targetPort: "http" + tls: + insecureEdgeTerminationPolicy: "Redirect" + termination: "edge" + to: + kind: "Service" + name: "infocenter-2022-06" + weight: 100 diff --git a/infoCenter/k8s/2022-06/service.yml b/infoCenter/k8s/2022-06/service.yml new file mode 100644 index 0000000..6443aa9 --- /dev/null +++ b/infoCenter/k8s/2022-06/service.yml @@ -0,0 +1,23 @@ +#******************************************************************************* +# Copyright (c) 2021 Eclipse Foundation and others. +# This program and the accompanying materials are made available +# under the terms of the Eclipse Public License 2.0 +# which is available at http://www.eclipse.org/legal/epl-v20.html, +# or the MIT License which is available at https://opensource.org/licenses/MIT. +# SPDX-License-Identifier: EPL-2.0 OR MIT +#******************************************************************************* +apiVersion: "v1" +kind: "Service" +metadata: + labels: + infocenter.version: "2022-06" + namespace: "infocenter" + name: "infocenter-2022-06" +spec: + ports: + - name: "http" + port: 80 + protocol: "TCP" + targetPort: 8086 + selector: + infocenter.version: "2022-06" |