I try to start drone agent in K8S
Drone server run normally, expose 8000 and 9000 port, create service and ingress. Setup server to connect to bitbucket.
Services manifest in k8s
—
apiVersion: v1
kind: Service
metadata:
name: drone-agents-gw
spec:
clusterIP: None
ports:
- port: 9000
protocol: TCP
name: drone-rpc
selector:
app: drone
type: ClusterIP
—
apiVersion: v1
kind: Service
metadata:
name: drone
spec:
ports:
- port: 8000
protocol: TCP
targetPort: 8000
name: drone-web
selector:
app: drone
type: ClusterIP
In agent configuration i use server url drone-agents-gw:9000
But in agent log i see error grpc error: done(): code: Internal: rpc error: code = Internal desc = stream terminated by RST_STREAM with error code: 1
Try images 0.8 and 0.8.4 versions - all have this error.
How i can fix this?