-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add a helm chart for kubernetes deployment #162
Comments
deployent needs to reference an existing image apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "channelfinder.fullname" . }}
spec:
replicas: 1
selector:
matchLabels:
app: {{ include "channelfinder.name" . }}
template:
metadata:
labels:
app: {{ include "channelfinder.name" . }}
spec:
containers:
- name: channelfinder
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: {{ .Values.service.port }}
env:
- name: ELASTICSEARCH_NETWORK_HOST
value: "elasticsearch-cf"
command:
- /bin/bash
- -c
- |
until curl --silent --fail http://elasticsearch-cf:9200/_cluster/health; do
echo 'Waiting for Elasticsearch';
sleep 1;
done;
java -jar /channelfinder/ChannelFinder-*.jar
volumeMounts:
- name: es-data
mountPath: /usr/share/elasticsearch/data
volumes:
- name: es-data
persistentVolumeClaim:
claimName: es-data
|
all existing images seem old |
might choose to push to the DLS registry https://dev-portal.diamond.ac.uk/guide/kubernetes/tutorials/containers/ |
with this image:
repository: channelfinder
tag: "latest"
pullPolicy: IfNotPresent
https://confluence.diamond.ac.uk/display/CLOUD/Container+Registry |
tag invalid? |
ah, either semver or latest I guess |
latest also not accepted for some reason |
0.1.0 is also failing helm upgrade --install channelfinder helm --namespace $NAMESPACE |
No description provided.
The text was updated successfully, but these errors were encountered: