# 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: 0cfb59c # 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:bfcc8462709091a9f5d0fe73ee6b5298194879ffdd5a3110c919362c3e1e0d4b labels: - pairs: app.kubernetes.io/name: allmende app.kubernetes.io/part-of: allmende includeSelectors: false