Hi all, I want to setup the couchbase in my google cloud.
I tried deploying the couchbase in the marketplace and used yaml file to deploy. But both deployed fail.
This is my yaml file
apiVersion: apps/v1
kind: Deployment
metadata:
name: couchbase-delp
spec:
replicas: 1
selector:
matchLabels:
app: couchbase
template:
metadata:
labels:
app: couchbase
spec:
containers:
- name: couchbase-delp-8091
image: couchbase:latest
ports:
- containerPort: 8091
---
apiVersion: v1
kind: Service
metadata:
name: couchbase-srv
spec:
selector:
app: couchbase
ports:
- name: couchbase-srv-8091
protocol: TCP
port: 8091
targetPort: 8091
I have totally lost.
Hope to get some information. Thank you