gaborgsomogyi commented on code in PR #1258:
URL: 
https://github.com/apache/flink-kubernetes-operator/pull/1258#discussion_r4642391405


##########
docs/content/docs/deployment/overview.md:
##########
@@ -83,6 +83,8 @@ In Standalone mode the operator creates every Kubernetes 
resource itself: the Jo
 
 The replica count is also exposed through the Kubernetes scale subresource: 
`kubectl scale flinkdeployment <name> --replicas=<n>` and a 
[HorizontalPodAutoscaler](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/)
 targeting the resource both drive `spec.taskManager.replicas` directly, a 
natural pairing with Reactive Mode. In Native mode the field has no effect, 
there the TaskManager count follows the job's slot needs.
 
+How the job jar reaches the cluster depends on the scheme of 
`spec.job.jarURI`. A `local://` URI, or a path without a scheme, points to a 
jar inside the image, and `file://`, `http://` and `https://` URIs are loaded 
from where they point; the operator puts these on the classpath of every Flink 
process. A jar on a Flink file system, such as `s3://` or `hdfs://`, is fetched 
by the JobManager on startup and shipped to the TaskManagers from there. This 
needs Flink 1.19 or newer and the matching [filesystem 
plugin](https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/filesystems/plugins/)
 enabled in the image.

Review Comment:
   Couple of questions here:
   - How to pass credentials for the operator/Flink s3 access? Operator restart 
needed when creds changed?
   - Is this working together with the token manager which starts relatively 
early?
   - IIUC this PR is not introducing new operator http fetching mechanism, 
right? I want to evaluate the attack surface because operator side http 
fetching can add new CVEs
   



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