Skip to content

Exposing the pod manifest file/dir option for the node in Origin - #1741

Merged
openshift-bot merged 1 commit into
openshift:masterfrom
abhgupta:abhgupta-dev
Apr 17, 2015
Merged

openshift-bot merged 1 commit into
openshift:masterfrom
abhgupta:abhgupta-dev

Conversation

@abhgupta

Copy link
Copy Markdown
Member

@deads2k PTAL

Comment thread pkg/cmd/server/start/node_args.go Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're not binding these and exposing them on the command line, we don't need to add them as args

@liggitt

liggitt commented Apr 15, 2015

Copy link
Copy Markdown
Contributor

@deads2k what's the goal for create-node-config for stuff like this?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there's enough shared now to warrant including the options (configapi.NodeConfig) directly.

@deads2k

deads2k commented Apr 15, 2015

Copy link
Copy Markdown
Contributor

what's the goal for create-node-config for stuff like this?

This looks to be completely optional. Empty just means you don't have one of these. If empty values are reasonable defaults, then I think we just let create-node-config leave the values empty.

@abhgupta
abhgupta force-pushed the abhgupta-dev branch 3 times, most recently from 9ea7f7b to d069116 Compare April 15, 2015 21:11
@abhgupta

Copy link
Copy Markdown
Member Author

@liggitt @deads2k made most of the changes - please take another look

Comment thread pkg/cmd/server/kubernetes/node.go Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if there's an error here, should the startup fail? or at least log?

@liggitt

liggitt commented Apr 16, 2015

Copy link
Copy Markdown
Contributor

a couple last comments, then LGTM. @deads2k?

@deads2k

deads2k commented Apr 16, 2015

Copy link
Copy Markdown
Contributor

one comment about the shape of the struct. Otherwise, lgtm.

@abhgupta
abhgupta force-pushed the abhgupta-dev branch 3 times, most recently from 67837c0 to 979cabc Compare April 17, 2015 00:15
@abhgupta

Copy link
Copy Markdown
Member Author

@liggitt @deads2k how about now?

Comment thread pkg/cmd/server/api/types.go Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No JSON tags on internal version

@derekwaynecarr

Copy link
Copy Markdown
Member

Do we plan on using this to bootstrap an origin master server similar to how the default Kube setup is now running the master components of Kube in a pod?

@abhgupta

Copy link
Copy Markdown
Member Author

@derekwaynecarr while there may be other use cases, the immediate use case is to allow the creation of a pod (specifically, fluentd) on every node by placing a pod manifest file on the nodes.

Comment thread pkg/cmd/server/api/types.go Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no JSON tags

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

Successfully merging this pull request may close these issues.

5 participants