Skip to content

Write instructions how to run controller locally #23

Closed

Description

We need to write section in doc explaining how to run project in local Kind cluster.
currently blocked by #11

Steps to run projects:

  • kind create cluster
  • switch kubectl context to kind (important! otherwise you can damage production cluster)
  • install cert-manager using helm or kustomize cert-manager documentation
  • make docker-build to build docker image with tag controller:latest
  • kind load docker-image controller:latest to load image into cluster
  • make install (this installs CRD)
  • make deploy (this deploys controller, roles, certificates)

After making changes in code to redeploy them run

  • make docker-build, this will regenerate manifests and build image
  • make deploy to change YAML manifests if necessary
  • kubectl rollout restart -n etcd-operator-system deploy/etcd-operator-controller-manager

Activity

  1. Kirill-Garbar commented on Mar 16, 2024

    @Kirill-Garbar
    Contributor
    docker tag controller:latest ghcr.io/aenix-io/etcd-operator:latest
    kind load docker-image ghcr.io/aenix-io/etcd-operator:latest
    

    instead of
    kind load docker-image controller:latest

  2. added a commit that references this issue on Mar 18, 2024
    34d962d
  3. added this to the v0.0.1 milestone on Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions