You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
Having trouble when tried NNI with FrameworkController on-premise k8s #73
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: frameworkcontroller
namespace: default
spec:
serviceName: frameworkcontroller
selector:
matchLabels:
app: frameworkcontroller
replicas: 1
template:
metadata:
labels:
app: frameworkcontroller
spec:
# Using the ServiceAccount with granted permission
# if the k8s cluster enforces authorization.
serviceAccountName: frameworkcontroller
containers:
- name: frameworkcontroller
image: frameworkcontroller/frameworkcontroller
# Using k8s inClusterConfig, so usually, no need to specify
# KUBE_APISERVER_ADDRESS or KUBECONFIG
# env:
#- name: KUBE_APISERVER_ADDRESS
# value: {http[s]://host:port}
# - name: KUBECONFIG
# value: ~/.kube/config
kubectl apply -f framework-config.yml
and when I tried kubectl get po
and tried kubectl logs frameworkcontroller-0
It said
updateRemoteFrameworkStatus:
Failed: Framework.frameworkcontroller.microsoft.com "nniexpqfwzydmkenvfpwjw" is invalid:
spec.taskRoles.task.podGracefulDeletionTimeoutSec: Invalid value: "null":
spec.taskRoles.task.podGracefulDeletionTimeoutSec in body must be of type integer: "null"
I have just fixed it, juniroc (@juniroc) pls try NNI with the FC latest image or v1.0.1 image:
frameworkcontroller/frameworkcontroller:v1.0.1
frameworkcontroller/frameworkbarrier:v1.0.1
FYI SparkSnail could you pls help or ask NNI dev to upgrade the default FC image to latest or v1.0.1:
frameworkcontroller/frameworkcontroller:v1.0.1
frameworkcontroller/frameworkbarrier:v1.0.1
Thanks
FYI SparkSnail could you pls help or ask NNI dev to upgrade the default FC image to latest or v1.0.1: frameworkcontroller/frameworkcontroller:v1.0.1 frameworkcontroller/frameworkbarrier:v1.0.1 Thanks
Add liuzhe-lz who is responsible for TrainingService in NNI now, please help to update default FC image version in doc and check if need to update code.
Activity
yqwang-ms commentedon Feb 22, 2022
Thanks for reporting this.
This breaking change (does not allow null) should be introduced by recent #72, and which changed to
frameworkcontroller/pkg/apis/frameworkcontroller/v1/crd.go
Lines 149 to 151 in e658916
But by design we support null for podGracefulDeletionTimeoutSec, will do a hotfix later, thanks!
yqwang-ms commentedon Feb 23, 2022
I have just fixed it, juniroc (@juniroc) pls try NNI with the FC latest image or v1.0.1 image:
frameworkcontroller/frameworkcontroller:v1.0.1
frameworkcontroller/frameworkbarrier:v1.0.1
Pls reopen if still meet this issue.
yqwang-ms commentedon Feb 23, 2022
FYI SparkSnail could you pls help or ask NNI dev to upgrade the default FC image to latest or v1.0.1:
frameworkcontroller/frameworkcontroller:v1.0.1
frameworkcontroller/frameworkbarrier:v1.0.1
Thanks
SparkSnail commentedon Feb 23, 2022
Add liuzhe-lz who is responsible for TrainingService in NNI now, please help to update default FC image version in doc and check if need to update code.
juniroc commentedon Feb 24, 2022
Yuqi Wang (@yqwang-ms) yeah it works well
thanks!!