Zhang Li 1 год назад
Родитель
Сommit
1e94c13899
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      dag-jupyter/internal/api/helm-wrapper.go

+ 2 - 0
dag-jupyter/internal/api/helm-wrapper.go

@@ -35,6 +35,8 @@ func genParam(req *types.CreateJupyterInfo) map[string]interface{} {
 		// 	"kubernetes.io/ingress.class": req.IngressClass,
 		// })
 		settings = append(settings, fmt.Sprintf("ingress.jupyterlab.annotations.kubernetes\\.io/ingress\\.class=%s", req.IngressClass))
+		settings = append(settings, fmt.Sprintf("ingress.jupyterlab.annotations.nginx\\.ingress\\.kubernetes\\.io/proxy-body-size=%s", "8192m"))
+
 	}
 	settings = append(settings, fmt.Sprintf("jupyterlab.image.repository=%s", req.Image))
 	settings = append(settings, fmt.Sprintf("jupyterlab.image.tag=%s", req.Tag))