Pil0tXia commented on code in PR #4727:
URL: https://github.com/apache/eventmesh/pull/4727#discussion_r1445988088


##########
eventmesh-operator/config/samples/eventmesh_operator.yaml:
##########
@@ -0,0 +1,74 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+  name: eventmesh-operator
+spec:
+  replicas: 1
+  selector:
+    matchLabels:
+      name: eventmesh-operator
+  template:
+    metadata:
+      labels:
+        name: eventmesh-operator
+    spec:
+      serviceAccountName: eventmesh-operator
+      terminationGracePeriodSeconds: 10
+      containers:
+        - name: eventmesh-operator
+          # image
+          image: alonexc/eventmesh-operator:latest
+          command:
+            - /manager
+          args:
+            - --leader-elect
+          imagePullPolicy: IfNotPresent
+          securityContext:
+            allowPrivilegeEscalation: false
+          livenessProbe:
+            httpGet:
+              path: /healthz
+              port: 8081
+            initialDelaySeconds: 15
+            periodSeconds: 20
+          readinessProbe:
+            httpGet:
+              path: /readyz
+              port: 8081
+            initialDelaySeconds: 5
+            periodSeconds: 10
+          resources:
+            limits:
+              cpu: 500m
+              memory: 128Mi
+            requests:
+              cpu: 10m
+              memory: 64Mi

Review Comment:
   We assume a standard deployment scenario with 3 EventMesh Runtimes and 10 
pairs of connectors in the cluster. Users launch 5 pairs of connectors within 
five minutes from the console. We would like the default configuration to meet 
the requirements of this scenario.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to