Commit 5df1af7c authored by Will JALLET's avatar Will JALLET 💸

Sites binets

parent 69d272a4
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: creneaux
namespace: creneaux-app
annotations:
flux.weave.works/automated: 'true'
spec:
replicas: 1
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
type: RollingUpdate
template:
metadata:
labels:
app: creneaux-app
spec:
containers:
- image: registry.binets.fr/wilson.jallet/creneaux/master:1c2cae462e245ae36c44db8dfb981757cc234951
imagePullPolicy: Always
name: creneaux
ports:
- containerPort: 5000
name: http
protocol: TCP
restartPolicy: Always
imagePullSecrets:
- name: regcred
\ No newline at end of file
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: creneaux-app
namespace: creneaux-app
labels:
app: creneaux-app
spec:
rules:
- host: creneaux.kubeapps.binets.fr
http:
paths:
- backend:
serviceName: creneaux-app
servicePort: 5000
---
apiVersion: v1
kind: Service
metadata:
namespace: creneaux-app
name: creneaux-app
labels:
app: creneaux-app
spec:
type: NodePort
ports:
- port: 5000
targetPort: 5000
protocol: TCP
selector:
app: creneaux-app
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment