# A public Allmende node (a bootstrap node) for your own cluster. # # kubectl apply -k k8s/base (or: kustomize build k8s/base | kubectl apply -f -) # # Before you apply: set the image below and the public name in config.env. # See k8s/README.md for the whole setup (router, DNS, first start). apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: allmende resources: - namespace.yaml - statefulset.yaml - service-p2p.yaml - service-http.yaml # The web UI on a public name (Traefik IngressRoute). Comment it out to keep the UI private. - ingressroute.yaml configMapGenerator: - name: allmende-config envs: - config.env # Build the image from the Dockerfile in the repository root, push it to a # registry your cluster can pull from, and name it here. images: - name: allmende newName: git.stinnesbeck.com/nils/allmende newTag: 7da38a9 # the commit the image was built from; `make image` pushes and prints the next one # The digest is what the cluster pulls (the tag above is for people: a tag can # be overwritten in the registry, a digest cannot). Change both together; get # the digest after pushing with: podman pull --policy=always : && # podman image inspect --format '{{.Digest}}' : digest: sha256:4f1d8e1f047fdcabb798d7fa0c94405a5160e6640462ad2491f2c5afd9200f5e labels: - pairs: app.kubernetes.io/name: allmende app.kubernetes.io/part-of: allmende includeSelectors: false