[ 
https://issues.apache.org/jira/browse/SCB-823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16574376#comment-16574376
 ] 

ASF GitHub Bot commented on SCB-823:
------------------------------------

WillemJiang commented on a change in pull request #243: [SCB-823] Setup the 
test in kubernetes
URL: 
https://github.com/apache/incubator-servicecomb-saga/pull/243#discussion_r208824091
 
 

 ##########
 File path: saga-demo/saga-k8s-resources/base/alpha.yaml
 ##########
 @@ -0,0 +1,37 @@
+apiVersion: v1
+kind: Service
+metadata:
+  name: alpha-server
+  namespace: servicecomb
+  labels:
+    app: alphaserver
+spec:
+  ports:
+  - port: 8080
+    name: alpha
+  selector:
+    app: alphaserver
+---
+apiVersion: extensions/v1beta1
+kind: Deployment
+metadata:
+  name: alphaserver
+  namespace: servicecomb
+spec:
+  replicas: 1
+  template:
+    metadata:
+      labels:
+        app: alphaserver
+        version: v1
+    spec:
+      containers:
+      - name: alphaserver
+        image: alpha-server:0.3.0-SNAPSHOT
 
 Review comment:
   Can we use the environment variable to specify the version?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Set up a fully functional test in kubernetes environment
> --------------------------------------------------------
>
>                 Key: SCB-823
>                 URL: https://issues.apache.org/jira/browse/SCB-823
>             Project: Apache ServiceComb
>          Issue Type: Test
>          Components: Saga
>            Reporter: ZhenJu
>            Assignee: ZhenJu
>            Priority: Minor
>              Labels: kubernetes, test
>
> It would be great if we have a kubernetes test solution running the demos in 
> containers.
> With the environment, it's easier to:
>  * Scale up / down the services to test saga in different size distributed 
> systems
>  * Simulate the scenarios that different forms of errors would occur, like 
> unavailable connection, internal server error, or network delay. This could 
> be easily done by Istio



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to