Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does a function container running within the same POD of iron-function engine on Kubernetes? #670

Open
sss0350 opened this issue Feb 9, 2018 · 1 comment

Comments

@sss0350
Copy link

sss0350 commented Feb 9, 2018

Hi there,
I've installed iron-function on openshift within a project (namespace).
Please help me clarify one thing :
I can see core iron-function running pod in my project , but was curious about how a faas "function" will be trigger by iron. Does iron use host OS's docker engine , and docker run "function" container directly on OS level, rather than running "function" container within its' own pod? If this is true (and it seems to be true)
it's a bit odd to me, since this function container is totally bypass POD level security policy.
Could you tell me detail steps of how a function will be trigger at run-time, if someone access it thru rest.
Thank you very much.

Gatsby

@sss0350
Copy link
Author

sss0350 commented Feb 12, 2018

I saw a similar discussion onopenwhisk project (apache/openwhisk-deploy-kube#110), it seems there are two approaches of creating containers 1) DockerContainerFactory 2) KubernetesContainerFactory , does it mean ironfunction might use DockerContainerFactory way to create containers?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant