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

Create an ansible module/driver to create/delete or start/stop a kind cluster #1687

Closed
cmoulliard opened this issue Jun 24, 2020 · 2 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@cmoulliard
Copy link

Proposition

The snowdrop team created an Ansible playbook to simplify the process and help users/developers when they play with with kind to create/delete a cluster with optionally a docker registry - https://github.com/snowdrop/k8s-infra/blob/master/ansible/roles/kind/README.adoc.

Remark : An Ingress role can also be used to top of the cluster created

As discussed with Fabian von Feilitzsh on Kind Slack, it could be interesting that we do different things such as :

  • Donate the Ansible role created to the kind community

That we extend the work to either:

  name: Create a K8s 1.17 cluster with a docker registry and ingress server
  kind:
    version: 0.17.2
    name: my-k8s-17
    image: 
    registry: docker
    routing: ingress
    nodes:
      - role: control-plane
      - role: worker
      - role: worker
      extraPortMappings:
        - containerPort: 80
          hostPort: 80
          listenAddress: "127.0.0.1"
          potocol: TCP
      extraMounts:
        - hostPath: /path/to/my/files/
          containerPath: /files
    networking:
      apiServerAddress: "127.0.0.1"
    state: present

WDYT ?

@cmoulliard cmoulliard added the kind/feature Categorizes issue or PR as related to a new feature. label Jun 24, 2020
@BenTheElder
Copy link
Member

I really appreciate you reaching out and your work on this 😄

I don't think we're prepared to maintain something like this in the kind repo, it should probably continue to live in another repo.
This seems a bit out of scope for the Kubernetes project, and most of the core maintainers are not ansible users.

Similarly, we do not host CI integration tooling in this repo, but instead under https://github.com/kind-ci/examples

I think we'd be happy to link out to a project like this from https://kind.sigs.k8s.io/docs/user/resources/ (a page which could use more love as well..), which could help improve visibility for the project.

@BenTheElder
Copy link
Member

spoke to other maintainers, closing for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants