We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 321a48f commit b776e1aCopy full SHA for b776e1a
provider/cluster/kube/builder.go
@@ -9,7 +9,7 @@ import (
9
10
akashv1 "github.com/ovrclk/akash/pkg/apis/akash.network/v1"
11
"github.com/ovrclk/akash/types"
12
- "github.com/satori/go.uuid"
+ uuid "github.com/satori/go.uuid"
13
appsv1 "k8s.io/api/apps/v1"
14
corev1 "k8s.io/api/core/v1"
15
extv1 "k8s.io/api/extensions/v1beta1"
@@ -183,6 +183,9 @@ func (b *serviceBuilder) create() (*corev1.Service, error) {
183
Labels: b.labels(),
184
},
185
Spec: corev1.ServiceSpec{
186
+ // use NodePort to support GCP. GCP provides a new IP address for every ingress
187
+ // and requires the service type to be either NodePort or LoadBalancer
188
+ Type: corev1.ServiceTypeNodePort,
189
Selector: b.labels(),
190
Ports: b.ports(),
191
0 commit comments