
3 changed files with 35 additions and 1 deletions
@ -0,0 +1,3 @@ |
|||||
|
#!/bin/bash |
||||
|
|
||||
|
helm install --set service.type=LoadBalancer -n covidok covidok helm/covidok |
@ -0,0 +1,32 @@ |
|||||
|
apiVersion: v1 |
||||
|
kind: Service |
||||
|
metadata: |
||||
|
name: redis |
||||
|
spec: |
||||
|
ports: |
||||
|
- port: 6379 |
||||
|
selector: |
||||
|
app: redis-dev |
||||
|
--- |
||||
|
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2 |
||||
|
kind: Deployment |
||||
|
metadata: |
||||
|
name: redis-dev |
||||
|
spec: |
||||
|
selector: |
||||
|
matchLabels: |
||||
|
app: redis-dev |
||||
|
strategy: |
||||
|
type: Recreate |
||||
|
template: |
||||
|
metadata: |
||||
|
labels: |
||||
|
app: redis-dev |
||||
|
spec: |
||||
|
containers: |
||||
|
- image: redis:6 |
||||
|
name: redis |
||||
|
ports: |
||||
|
- containerPort: 6379 |
||||
|
name: redis |
||||
|
command: ["redis-server"] |
Loading…
Reference in new issue