mlycore commented on issue #166:
URL: 
https://github.com/apache/shardingsphere-on-cloud/issues/166#issuecomment-1381467252

   A simplified example
   ```yaml
   apiVersion: shardingsphere.apache.org/v1alpha1
   kind: ComputeNode
   metadata:
     labels:
       app: test-cluster
     name: test-cluster
     namespace: oncloud-test
   spec:
     storageNodeConnector:
       type: mysql
       version: 5.1.47
     serverVersion: 5.3.0
     replicas: 1
     selector:
       matchLabels:
         app: test-cluster
     portBindings:
     - name: server
       containerPort: 3307
       servicePort: 3307
       protocol: TCP
     serviceType: NodePort
     bootstrap:
       serverConfig:
         authority:
           privilege:
             type: ALL_PERMITTED
           users:
           - user: root%
             password: root
         mode:
           type: Cluster
           repository:
             type: ZooKeeper
             props:
               timeToLiveSeconds: "600"
               server-lists: ss-zookeeper.operatortest:2181
               retryIntervalMilliseconds: "500"
               operationTimeoutMilliseconds: "5000"
               namespace: governance_ds
               maxRetries: "3"
         props:
           proxy-frontend-database-protocol-type: MySQL
   
   ```


-- 
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]

Reply via email to