rmetzger commented on a change in pull request #13121:
URL: https://github.com/apache/flink/pull/13121#discussion_r472956028



##########
File path: docs/ops/deployment/native_kubernetes.md
##########
@@ -195,6 +188,28 @@ As always, Jobs may stop when manually canceled or, in the 
case of bounded Jobs,
 $ ./bin/flink cancel -t kubernetes-application 
-Dkubernetes.cluster-id=<ClusterID> <JobID>
 {% endhighlight %}
 
+
+## Log Files
+
+By default, the JobManager and TaskManager will output the logs to the console 
and `/opt/flink/log` in each pod simultaneously.
+The STDOUT and STDERR will only be redirected to the console. You can access 
them via `kubectl logs <PodName>`.
+
+If the pod is running, you can also use `kubectl exec -it <PodName> bash` to 
tunnel in and view the logs or debug the process.
+
+## Using plugins
+
+In order to use [plugins]({{ site.baseurl }}/ops/plugins.html), they must be 
copied to the correct location in the Flink JobManager/TaskManager pod for them 
to work.

Review comment:
       ```suggestion
   In order to use [plugins]({{ site.baseurl }}/ops/plugins.html), they must be 
copied to the correct location in the Flink JobManager/TaskManager pod for them 
to work. You can use the built-in plugins without mounting a volume or building 
a custom Docker image.
   ```

##########
File path: docs/ops/deployment/native_kubernetes.md
##########
@@ -195,6 +188,28 @@ As always, Jobs may stop when manually canceled or, in the 
case of bounded Jobs,
 $ ./bin/flink cancel -t kubernetes-application 
-Dkubernetes.cluster-id=<ClusterID> <JobID>
 {% endhighlight %}
 
+
+## Log Files
+
+By default, the JobManager and TaskManager will output the logs to the console 
and `/opt/flink/log` in each pod simultaneously.
+The STDOUT and STDERR will only be redirected to the console. You can access 
them via `kubectl logs <PodName>`.
+
+If the pod is running, you can also use `kubectl exec -it <PodName> bash` to 
tunnel in and view the logs or debug the process.
+
+## Using plugins
+
+In order to use [plugins]({{ site.baseurl }}/ops/plugins.html), they must be 
copied to the correct location in the Flink JobManager/TaskManager pod for them 
to work.
+Use the following command to pass the environment variable to enable the S3 
plugin for Flink application.

Review comment:
       ```suggestion
   For example, use the following command to pass the environment variable to 
enable the S3 plugin for your Flink application.
   ```




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

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


Reply via email to