can you write a helm chart for deploying a high availability nextcloud instance?
- User
can you write a helm chart for deploying a high availability nextcloud instance?
- Assistant
Sure, here is a sample Helm chart for deploying a high availability Nextcloud instance:
codeapiVersion: v1 kind: HelmChart metadata: name: nextcloud description: A Helm chart for deploying a high availability Nextcloud instance. spec: version: 0.1.0 appVersion: 22.2.0 dependencies: - name: postgresql version: 12.3 - name: redis version: 6.2 install: helm: values: - name: image value: nextcloud:22.2.0 - name: replicas value: 3 - name: service: type: LoadBalancer ports: - name: http port: 80 targetPort: 8080 selector: app: nextcloud - name: postgresql: enabled: true image: postgres:12.3 ports: - name: postgresql containerPort: 5432 volumes: - name: data persistentVolumeClaim: claimName: postgresql-data - name: redis: enabled: true image: redis:6.2 ports: - name: redis containerPort: 6379 volumes: - name: data persistentVolumeClaim: claimName: redis-data volumes: - name: postgresql-data persistentVolumeClaim: claimName: postgresql-data - name: redis-data persistentVolumeClaim: claimName: redis-dataThis chart will deploy three Nextcloud instances in a high availability configuration. The instances will be load balanced by a Kubernetes service. The chart also configures a PostgreSQL database and a Redis instance for Nextcloud to use. The database and Redis instance will be stored on persistent volumes.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.