nephio-project / nephio

Nephio is a Kubernetes-based automation platform for deploying and managing highly distributed, interconnected workloads such as 5G Network Functions, and the underlying infrastructure on which those workloads depend.
Apache License 2.0
104 stars 53 forks source link

Error while Proposing a Package using the WebUI #647

Open liamfallon opened 5 months ago

liamfallon commented 5 months ago

Original issue URL: https://github.com/kptdev/kpt/issues/3690 Original issue user: https://github.com/rravindran123 Original issue created at: 2022-12-12T22:41:04Z Original issue last updated at: 2023-01-26T04:47:55Z Original issue body: Trying to replicate the one-summit's Nephio demo with multiple edge clusters. This error pops when i try to propose the package for edge cluster deployment..

image

Expected behavior

Actual behavior

Information

one@free5gc-one-summit:~$ kpt version 1.0.0-beta.23

GH Repo : https://github.com/rravindran123/nephio-edge1

Steps to reproduce the behavior

Original issue comments: Comment user: https://github.com/ChristopherFry Comment created at: 2022-12-14T23:46:00Z Comment last updated at: 2022-12-14T23:46:00Z Comment body: Thanks for reporting this!

This issue occurs when the request payload to propose exceeds a certain size (I believe this 100KB at the moment). This normally wouldn't be an issue however this is an Nephio controllers where the controllers constantly update the package when the package is in draft state, which will cause the package to constantly grow in size. I've created nephio-project/nephio-pocs/issues/25 to track this.

I'll also look at updating the max request payload size in the UI as well as showing an alert message when a package's task list (which the controllers append to) exceeds a certain threshold.