High privileged PriorityClass
causes some errors on import
#98
Labels
kind/bug
Categorizes issue or PR as related to a bug.
PriorityClass
causes some errors on import
#98
There are 2 problems with
import
function ofExportService
.1. The default existing
PriorityClass
conflicts.When the scheduler is restarted, 2
PriorityClass
that issystem-cluster-critical
andsystem-node-critical
will be created automatically.The
import
function ofExportService
calls that restart logic, at first. This means that the 2PriorityClass
are recreated before import logic.And exported resources file(
export.yml
) from theexport
function also includes the 2PriorityClass
.Therefore, the names of these
PriorityClass
are in conflict when importing the resources file(export.yml
).2. Permission to create the
priorityclass
The
import
function tries to create a priority class that names with 'system-' prefix when an imported resources file includesPriorityClass
like asystem-cluster-critical
orsystem-node-critical
.But that gets this permission's error.
Would you give me some good ideas, please?
/kind bug
/assign
The text was updated successfully, but these errors were encountered: