You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2020/10/21 20:37:18 UTC
[GitHub] [openwhisk-deploy-kube] debonzi opened a new issue #649: Error on Helm deploy attempt.
debonzi opened a new issue #649:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/649
It looks like (I am new to it) that there is some issue with persistence configuration.
After failing to deploy I tried to create a .yaml file using helm and got the same error:
```
$ helm template owdev ./helm/openwhisk -n openwhisk -f mycluster.yaml --debug
install.go:172: [debug] Original chart version: ""
install.go:189: [debug] CHART PATH: /home/debonzi/devel/openwhisk-deploy-kube/helm/openwhisk
Error: template: openwhisk/templates/zookeeper-pvc-datalog.yaml:18:17: executing "openwhisk/templates/zookeeper-pvc-datalog.yaml" at <.Values.k8s.persistence.enabled>: nil pointer evaluating interface {}.persistence
helm.go:94: [debug] template: openwhisk/templates/zookeeper-pvc-datalog.yaml:18:17: executing "openwhisk/templates/zookeeper-pvc-datalog.yaml" at <.Values.k8s.persistence.enabled>: nil pointer evaluating interface {}.persistence
```
I am trying to deploy it on IKS. I believe I got everything right with IKS configuration.
Following the mycluster.yaml file content:
```
whisk:
ingress:
apiHostName: openwhisk.debonzi.com
apiHostPort: 443
apiHostProto: https
type: Standard
domain: openwhisk.debonzi.com
annotations:
ingress.bluemix.net/proxy-read-timeout: "75s"
ingress.bluemix.net/client-max-body-size: "size=50m"
ingress.bluemix.net/proxy-add-headers: |
serviceName=owdev-controller {
'X-Request-ID' $request_id;
}
invoker:
containerFactory:
impl: kubernetes
k8s:
persistence:
hasDefaultStorageClass: false
explicitStorageClass: default
```
I am glad to help with any additional info.
Thanks
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [openwhisk-deploy-kube] debonzi closed issue #649: Error on Helm deploy attempt.
Posted by GitBox <gi...@apache.org>.
debonzi closed issue #649:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/649
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [openwhisk-deploy-kube] debonzi commented on issue #649: Error on Helm deploy attempt.
Posted by GitBox <gi...@apache.org>.
debonzi commented on issue #649:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/649#issuecomment-713865682
Found the issue.
mycluster.yaml has wrong indentation.
```
invoker:
containerFactory:
impl: kubernetes
k8s:
persistence:
hasDefaultStorageClass: false
explicitStorageClass: default
```
must be
```
invoker:
containerFactory:
impl: kubernetes
k8s:
persistence:
hasDefaultStorageClass: false
explicitStorageClass: default
```
Sorry for any inconvinience
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org