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

Add PoC ksonnet integration #1

Closed
wants to merge 1 commit into from

Conversation

hausdorff
Copy link
Contributor

I've made the editorial decision to set this PR up as 3 commits to highlight the gradual workflow of transitioning a codebase to ksonnet. The commit messages are self-contained, and the comments explain what the code does, but for posterity, let me briefly describe them here:

  1. Transforming the existing YAML Kubernetes API objects to JSON, so that we can import them and append the ksonnet mixins to them. (Jsonnet in general, and ksonnet in particular, does not currently support importing YAML documents.)
  2. Introducing a ksonnet mixin that will configure add a Honeycomb agent ConfigMap to a DaemonSet, and then mount that ConfigMap on specified Containers.
  3. Rewrite the Honeycomb agent in ksonnet, just to show what it's like.

To use this yourself, you will need 2 things:

  1. Jsonnet PR #318. Building should be painless on OS X and Linux, I haven't seen a build failure yet. This should be merged soon (see issue #311)
  2. The hausdorff:honeycomb branch of ksonnet-lib. I have taken some liberties and written some extensions to the core mixin library to make this stuff a little more approachable.

Once you have both those things, compile using the -J flag, pointing at the directory ksonnet-lib/ksonnet.beta.2, and the rest should work ✨ magically ✨

@hausdorff hausdorff force-pushed the ksonnet-integration branch from ac73ab9 to a6d5837 Compare June 20, 2017 21:26
@hausdorff hausdorff force-pushed the ksonnet-integration branch from 9fd7217 to 529a763 Compare June 22, 2017 22:18
@lizthegrey lizthegrey closed this Jun 16, 2020
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.

2 participants