diff --git a/deploy/manifests/prod/us-east-2/tenant/storetheindex/cassette/config.yaml b/deploy/manifests/prod/us-east-2/tenant/storetheindex/cassette/config.yaml deleted file mode 100644 index 58977c2df..000000000 --- a/deploy/manifests/prod/us-east-2/tenant/storetheindex/cassette/config.yaml +++ /dev/null @@ -1,45 +0,0 @@ -libp2p: - # Peer ID: 12D3KooWAWotmkS2KKRYaJWHDx9jPfKXT9k8jAiThKH5oVRnbB1m - identityPath: '/identity/identity.key' - listenAddr: - - /ip4/0.0.0.0/tcp/40090 - - /ip4/0.0.0.0/udp/40090/quic - - /ip4/0.0.0.0/udp/40090/quic-v1 - userAgent: ipni/cassette - # To disable the connection manger set `connManager` to `null`. - connManager: - lowWater: 500 - highWater: 50000 - gracePeriod: 30s - silencePeriod: 20s - emergencyTrim: true - # Resource manager is disabled - resourceManager: null -ipni: - httpListenAddr: 0.0.0.0:40080 - httpAllowOrigin: '*' - preferJsonResponse: true - cascadeLabel: legacy - # Respond with 404 if `?cascade=legacy` is not specified as URL query parameter. - requireCascadeQueryParam: true - responseTimeout: 10s - findByMultihash: true - disableAddrFilter: false -metrics: - listenAddr: 0.0.0.0:40081 - enablePprofDebug: true -bitswap: - peers: - # Infura - - '/p2p/QmWboxuLjnFvZMErSbuGLZ3VLxZgWKDBX75AV8sZYacQTV' - - '/p2p/QmUeUGaK7Bs8jgJ55R1rB2nDcsaTLaop7PiZLiYS4so69r' - - '/p2p/QmY6Fnvi2w5dS6uFQP62GWwPb7S4VQqehx3vZeKTZFHSGh' - maxBroadcastBatchSize: 100 - maxBroadcastBatchWait: 100ms - fallbackOnWantBlock: true - recipientsRefreshInterval: 10s - sendChannelBuffer: 100 - broadcastCancelAfter: 2s -cache: - expiry: 24h - size: 1000000 \ No newline at end of file diff --git a/deploy/manifests/prod/us-east-2/tenant/storetheindex/cassette/deployment.yaml b/deploy/manifests/prod/us-east-2/tenant/storetheindex/cassette/deployment.yaml deleted file mode 100644 index af34ac986..000000000 --- a/deploy/manifests/prod/us-east-2/tenant/storetheindex/cassette/deployment.yaml +++ /dev/null @@ -1,37 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: cassette -spec: - template: - spec: - topologySpreadConstraints: - - maxSkew: 1 - topologyKey: topology.kubernetes.io/zone - whenUnsatisfiable: ScheduleAnyway - containers: - - name: cassette - args: - - '--config=/config/config.yaml' - ports: - - containerPort: 40090 - name: libp2p - volumeMounts: - - name: identity - mountPath: /identity - - name: config - mountPath: /config - resources: - limits: - cpu: "3" - memory: 10Gi - requests: - cpu: "3" - memory: 10Gi - volumes: - - name: identity - secret: - secretName: cassette-identity - - name: config - configMap: - name: cassette-config diff --git a/deploy/manifests/prod/us-east-2/tenant/storetheindex/cassette/identity.key.encrypted b/deploy/manifests/prod/us-east-2/tenant/storetheindex/cassette/identity.key.encrypted deleted file mode 100644 index 6b65a5643..000000000 --- a/deploy/manifests/prod/us-east-2/tenant/storetheindex/cassette/identity.key.encrypted +++ /dev/null @@ -1,22 +0,0 @@ -{ - "data": "ENC[AES256_GCM,data:SeM0+iU8AtDR90udwpmuZ/9ZV1vfBmzBGn4rSLYmJ6apkFB7cWK9pd3+HR4MhxFqiMcQGBk5M7waCMCNIp/3sNvx7Ck=,iv:boBCNiz5ScDo2n/JNwm9QAaQVsp6YTlC1BR+sjb/jMI=,tag:mrcqYLImmgpSyQQi1duN6A==,type:str]", - "sops": { - "kms": [ - { - "arn": "arn:aws:kms:us-east-2:407967248065:alias/prod/us-east-2/sti", - "created_at": "2023-03-22T12:20:00Z", - "enc": "AQICAHjmLCaDZ4fRYyty7669VvFjJmy9C7/Y4dwd6seUJHRobwG0XQj1JuGYCBoZhiRefpUpAAAAfjB8BgkqhkiG9w0BBwagbzBtAgEAMGgGCSqGSIb3DQEHATAeBglghkgBZQMEAS4wEQQM5IAINC+ydTNywzkfAgEQgDvyjwe/Utn7/alwrzhcIlmij+iq7bFYF+7m/qyynuLWkgfjXdYN2zPY/QnjTBcfTTSx8eED9u5OJW0hDQ==", - "aws_profile": "" - } - ], - "gcp_kms": null, - "azure_kv": null, - "hc_vault": null, - "age": null, - "lastmodified": "2023-03-22T12:20:01Z", - "mac": "ENC[AES256_GCM,data:kbyZh83AWmcpUbUTXvBl0rZKOjVoJplhAY0UBl6CUG6axJ5D09Dw9qt9K561yzBT0ZOGy8Lt9v5Wvdvd34R2vRjrRX4QLxFvnnZAZY3o/MKgj4SLthaMu7CpLC19rseQqxsj95bpcdFEU6ZPKLNq8L+qWZT17vG/dbgpMIiRAOE=,iv:FTCFVECNVxaJMFDG1vr/t+djgrZnNIsskw+KbrkrPkA=,tag:MdWb0AdWX4dLa0+Uu6K8lQ==,type:str]", - "pgp": null, - "encrypted_regex": "^(data|stringData)$", - "version": "3.7.3" - } -} \ No newline at end of file diff --git a/deploy/manifests/prod/us-east-2/tenant/storetheindex/cassette/kustomization.yaml b/deploy/manifests/prod/us-east-2/tenant/storetheindex/cassette/kustomization.yaml deleted file mode 100644 index 7e70f67db..000000000 --- a/deploy/manifests/prod/us-east-2/tenant/storetheindex/cassette/kustomization.yaml +++ /dev/null @@ -1,37 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization - -namespace: storetheindex - -resources: - - ../../../../../base/cassette - - service-external.yaml - - pod-monitor.yaml - -patchesStrategicMerge: - - deployment.yaml - - service.yaml - -secretGenerator: - - name: cassette-identity - files: - - identity.key=identity.key.encrypted # 12D3KooWAWotmkS2KKRYaJWHDx9jPfKXT9k8jAiThKH5oVRnbB1m - -configMapGenerator: - - name: cassette-env-vars - behavior: merge - literals: - - GOLOG_LOG_LEVEL="info,net/identify=error" - - name: cassette-config - behavior: create - files: - - config.yaml - -replicas: - - name: cassette - count: 0 - -images: - - name: cassette - newName: 407967248065.dkr.ecr.us-east-2.amazonaws.com/ipni/cassette - newTag: 20230919183413-e76fc965fe2de969ae1c734f2bad13222c433c18 diff --git a/deploy/manifests/prod/us-east-2/tenant/storetheindex/cassette/pod-monitor.yaml b/deploy/manifests/prod/us-east-2/tenant/storetheindex/cassette/pod-monitor.yaml deleted file mode 100644 index 7304994ce..000000000 --- a/deploy/manifests/prod/us-east-2/tenant/storetheindex/cassette/pod-monitor.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: monitoring.coreos.com/v1 -kind: PodMonitor -metadata: - name: cassette - labels: - app: cassette -spec: - selector: - matchLabels: - app: cassette - namespaceSelector: - matchNames: - - storetheindex - podMetricsEndpoints: - - path: /metrics - port: metrics \ No newline at end of file diff --git a/deploy/manifests/prod/us-east-2/tenant/storetheindex/cassette/service-external.yaml b/deploy/manifests/prod/us-east-2/tenant/storetheindex/cassette/service-external.yaml deleted file mode 100644 index 07793ec0c..000000000 --- a/deploy/manifests/prod/us-east-2/tenant/storetheindex/cassette/service-external.yaml +++ /dev/null @@ -1,18 +0,0 @@ -# External facing cassette libp2p endpoint, used for peering. -kind: Service -apiVersion: v1 -metadata: - name: cassette-external - annotations: - service.beta.kubernetes.io/aws-load-balancer-type: nlb - service.beta.kubernetes.io/aws-load-balancer-nlb-target-type: ip - external-dns.alpha.kubernetes.io/hostname: cassette.prod.cid.contact -spec: - ports: - - name: libp2p - port: 40090 - targetPort: libp2p - selector: - app: cassette - externalTrafficPolicy: Local - type: LoadBalancer \ No newline at end of file diff --git a/deploy/manifests/prod/us-east-2/tenant/storetheindex/cassette/service.yaml b/deploy/manifests/prod/us-east-2/tenant/storetheindex/cassette/service.yaml deleted file mode 100644 index 795dd5ecf..000000000 --- a/deploy/manifests/prod/us-east-2/tenant/storetheindex/cassette/service.yaml +++ /dev/null @@ -1,18 +0,0 @@ -# cassette service is accessible only within K8S cluster VPC via: -# - http://cassette.internal.prod.cid.contact -# -# See: https://github.com/ipni/cassette -kind: Service -apiVersion: v1 -metadata: - name: cassette - annotations: - service.beta.kubernetes.io/aws-load-balancer-internal: "true" - service.beta.kubernetes.io/aws-load-balancer-scheme: internal - service.beta.kubernetes.io/aws-load-balancer-type: nlb - service.beta.kubernetes.io/aws-load-balancer-nlb-target-type: ip - external-dns.alpha.kubernetes.io/access: private - external-dns.alpha.kubernetes.io/hostname: cassette.internal.prod.cid.contact -spec: - externalTrafficPolicy: Cluster - type: LoadBalancer diff --git a/deploy/manifests/prod/us-east-2/tenant/storetheindex/indexstar/deployment.yaml b/deploy/manifests/prod/us-east-2/tenant/storetheindex/indexstar/deployment.yaml index 7905161d1..2d16314ad 100644 --- a/deploy/manifests/prod/us-east-2/tenant/storetheindex/indexstar/deployment.yaml +++ b/deploy/manifests/prod/us-east-2/tenant/storetheindex/indexstar/deployment.yaml @@ -30,9 +30,6 @@ spec: - '--dhBackends=http://dhstore-helga.internal.prod.cid.contact/' - '--dhBackends=http://dhstore.internal.prod.cid.contact/' - '--cascadeBackends=http://caskadht.internal.prod.cid.contact/' - # Excluded in prep for sunsetting Cassette - # See: https://github.com/ipni/storetheindex/pull/2352 - # - '--cascadeBackends=http://cassette.internal.prod.cid.contact/' env: # Increase maximum accepted request body to 1 MiB in order to allow batch finds requests # by the `provider verify-ingest` CLI command. diff --git a/deploy/manifests/prod/us-east-2/tenant/storetheindex/kustomization.yaml b/deploy/manifests/prod/us-east-2/tenant/storetheindex/kustomization.yaml index 6e8abe8a7..999e839b8 100644 --- a/deploy/manifests/prod/us-east-2/tenant/storetheindex/kustomization.yaml +++ b/deploy/manifests/prod/us-east-2/tenant/storetheindex/kustomization.yaml @@ -13,7 +13,6 @@ resources: - dhstore - dhstore-helga - dhstore-porvy -- cassette - dhstore-qiu - dhstore-ravi - dhstore-seka