You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by GitBox <gi...@apache.org> on 2021/08/26 18:24:10 UTC

[GitHub] [incubator-heron] surahman edited a comment on issue #3474: Kubernetes scheduler code should support setting a SecurityContext

surahman edited a comment on issue #3474:
URL: https://github.com/apache/incubator-heron/issues/3474#issuecomment-906540313


   Hi @nicknezis, I am trying to get acquainted with the code-base and was wondering if this has been resolved yet? I am looking at the following files:
   
   [heron/schedulers/src/java/org/apache/heron/scheduler/kubernetes/KubernetesContext.java](https://github.com/apache/incubator-heron/blob/4d9a7de106d6f1f6de6a96f996735c5fc636011b/heron/schedulers/src/java/org/apache/heron/scheduler/kubernetes/KubernetesContext.java)
   [heron/schedulers/src/java/org/apache/heron/scheduler/kubernetes/KubernetesScheduler.java](https://github.com/apache/incubator-heron/blob/4d9a7de106d6f1f6de6a96f996735c5fc636011b/heron/schedulers/src/java/org/apache/heron/scheduler/kubernetes/KubernetesScheduler.java)\
   [heron/spi/src/java/org/apache/heron/spi/common/Config.java](https://github.com/apache/incubator-heron/blob/4d9a7de106d6f1f6de6a96f996735c5fc636011b/heron/spi/src/java/org/apache/heron/spi/common/Config.java)
   
   Tests @ [heron/schedulers/tests/java/org/apache/heron/scheduler/kubernetes/KubernetesSchedulerTest.java](https://github.com/apache/incubator-heron/blob/4d9a7de106d6f1f6de6a96f996735c5fc636011b/heron/schedulers/tests/java/org/apache/heron/scheduler/kubernetes/KubernetesSchedulerTest.java)
   
   I have `grep`'d the code base for `SecurityContext` but was unable to find anything, are you referring to the Kubernetes configurations for [`Security Context`](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)? I have located the [`Config.Builder`](https://heron.apache.org/api/java/org/apache/heron/spi/common/Config.Builder.html) in the [`org.apache.heron.spi.common`](https://heron.apache.org/api/java/org/apache/heron/spi/common/package-summary.html) package. From the `Config.Builder` I will need to use the `put` method to add the Key-Value pairs for `<SecurityContext, Supplied Value>`?
   
   I would appreciate any direction you can provide, this is my first ~hour or so rummaging through the code-base.


-- 
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: commits-unsubscribe@heron.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org