Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a deployment process for redis_to_murko #672

Open
DominicOram opened this issue Nov 25, 2024 · 0 comments
Open

Create a deployment process for redis_to_murko #672

DominicOram opened this issue Nov 25, 2024 · 0 comments
Labels
murko Related to murko integration on i04

Comments

@DominicOram
Copy link
Contributor

Following #670 we deployed the service to i04's k8s cluster using:

  • A new entrypoint
  • A new mx-bluesky image that uses this endpoint
  • A hacked build_docker_image.sh that pushed this image to a personal ghcr
  • Using:
apiVersion: apps/v1
kind: Deployment
metadata:
  name: redis-to-murko
  labels:
    app: redis-to-murko
spec:
  replicas: 1
  selector:
    matchLabels:
      app: redis-to-murko
  template:
    metadata:
      labels:
        app: redis-to-murko
    spec:
      containers:
      - name: mx-bluesky
        image: ghcr.io/dominicoram/mx-bluesky:redis_to_murko_2
        env:
          - name: VALKEY_PASSWORD
            valueFrom:
             secretKeyRef:
               name: valkey-secret
               key: requirepass
        resources:
          requests:
            cpu: 30
            memory: 1Gi
          limits:
            cpu: 30
            memory: 1Gi

then:

kubectl create -f deploy.yaml
kubectl apply -f deploy.yaml

This needs to be formalised and made simpler.

Acceptance Criteria

  • There is an entrypoint for the service
  • There is a generic mx_bluesky image that can be used for both of these but just different with different endpoints specified
  • There are deployment scripts (helm charts?) for redis_to_murko
@DominicOram DominicOram added the murko Related to murko integration on i04 label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
murko Related to murko integration on i04
Projects
None yet
Development

No branches or pull requests

1 participant