This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
harper-edge: | |
image: harperdb/harperdb | |
container_name: harper-edge | |
ports: | |
- "9900:9925" | |
- "9901:9926" | |
- "62000:62344" | |
environment: | |
- HDB_ADMIN_USERNAME=admin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
harper-edge: | |
image: harperdb/harperdb | |
container_name: harper-edge | |
ports: | |
- "9900:9925" | |
- "9901:9926" | |
- "62000:62344" | |
environment: | |
- HDB_ADMIN_USERNAME=admin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Deployment for HarperDB | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: harperdb | |
namespace: database # note the namespace we created earlier | |
spec: | |
selector: | |
matchLabels: | |
app: harperdb # group all the pods under the same label |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Deployment for HarperDB | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: harperdb | |
namespace: database # note the namespace we created earlier | |
spec: | |
selector: | |
matchLabels: | |
app: harperdb # group all the pods under the same label |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
helm install \ | |
--create-namespace \ | |
-n database \ | |
--set env.ADMIN_USERNAME=harperdb \ | |
--set env.ADMIN_PASSWORD=harperdb \ | |
harperdb ./harperdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# Source: harperdb/templates/persistentVolumeClaim.yaml | |
apiVersion: v1 | |
kind: PersistentVolumeClaim | |
metadata: | |
name: harperdb-data | |
namespace: database | |
spec: | |
resources: | |
requests: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
helm template ./harperdb \ | |
-n database \ | |
--set env.ADMIN_USERNAME=harperdb \ | |
--set env.ADMIN_PASSWORD=harperdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: harperdb | |
service: | |
port: 9925 | |
env: | |
ADMIN_USERNAME: | |
ADMIN_PASSWORD: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: {{ .Values.name }} | |
namespace: {{ default .Release.Namespace .Values.namespace }} | |
spec: | |
selector: | |
app: {{ .Values.name }} | |
ports: | |
- port: {{ .Values.service.port }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: PersistentVolumeClaim | |
metadata: | |
name: {{ .Values.name}}-data | |
namespace: {{ default .Release.Namespace .Values.namespace }} | |
spec: | |
resources: | |
requests: | |
storage: 2Gi # We'll request 2GB of storage | |
accessModes: |