gyfora opened a new pull request, #159:
URL: https://github.com/apache/flink-kubernetes-operator/pull/159

   This PR contains two (related) changes:
   
   1. Bump the CRD version to v1beta1 (without keeping the old one) and 
updating examples/docs related to this
   2. Change the status field in the CRD to store the lastReconciledSpec in a 
JSON string form instead object.
   
   You can see an example of the resulting status:
   
   ```
   Status:
     Job Manager Deployment Status:  DEPLOYING
     Job Status:
       Savepoint Info:
       State:  UNKNOWN
     Reconciliation Status:
       Last Reconciled Spec:  {
     "image" : "flink:1.14",
     "imagePullPolicy" : null,
     "serviceAccount" : "flink",
     "flinkVersion" : "v1_14",
     "ingress" : null,
     "flinkConfiguration" : {
       "taskmanager.numberOfTaskSlots" : "2"
     },
     "podTemplate" : null,
     "jobManager" : {
       "resource" : {
         "cpu" : 1.0,
         "memory" : "2048m"
       },
       "replicas" : 1,
       "podTemplate" : null
     },
     "taskManager" : {
       "resource" : {
         "cpu" : 1.0,
         "memory" : "2048m"
       },
       "podTemplate" : null
     },
     "job" : {
       "jarURI" : 
"local:///opt/flink/examples/streaming/StateMachineExample.jar",
       "parallelism" : 2,
       "entryClass" : null,
       "args" : [ [],
       "state" : "running",
       "savepointTriggerNonce" : null,
       "initialSavepointPath" : null,
       "upgradeMode" : "stateless"
     },
     "restartNonce" : null,
     "logConfiguration" : null
   }
       Success:  true
   ```


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