~ knotless Search/
↑↓ move↵ open⇧↵ all results

johnandersen777.bsky.social/socialweb-computer-console

console.socialweb.computer: kcp, kubectl and ssh compiled to wasm in a browser tab with a terminal; a kcp fork

0
0
main
61 lines · 1.3 KB Raw History
apiVersion: operator.kcp.io/v1alpha1
kind: Shard
metadata:
  name: theseus
spec:
  rootShard:
    ref:
      name: root
  image:
    repository: kcp
    tag: latest
  extraArgs:
    # Shared single etcd: isolate this shard's keyspace with a distinct prefix.
    - --etcd-prefix=/shard/theseus
  shardBaseURL: https://theseus.kcp.localhost:8443
  external:
    hostname: kcp.localhost
    port: 8443
  certificates:
    issuerRef:
      group: cert-manager.io
      kind: Issuer
      name: selfsigned
  cache:
    embedded:
      enabled: true
  etcd:
    endpoints:
      - http://etcd.kcp-etcd.svc.cluster.local:2379
  deploymentTemplate:
    spec:
      template:
        spec:
          hostAliases:
            - ip: 10.96.2.2
              hostnames:
                - kcp.localhost
                - root.kcp.localhost
                - theseus.kcp.localhost
  certificateTemplates:
    server:
      spec:
        dnsNames:
        - theseus.kcp.localhost
---
apiVersion: gateway.networking.k8s.io/v1alpha3
kind: TLSRoute
metadata:
  name: theseus
  namespace: default
spec:
  parentRefs:
  - name: eg
    namespace: envoy-gateway-system
  hostnames:
  - theseus.kcp.localhost
  rules:
  - backendRefs:
    - name: theseus-shard-kcp
      port: 6443
      namespace: default