kubernetes-models
Version:
16 lines (15 loc) • 1.15 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.IoK8sApiCoreV1EphemeralContainer = exports.EphemeralContainer = void 0;
const base_1 = require("@kubernetes-models/base");
const IoK8sApiCoreV1EphemeralContainer_1 = require("../_schemas/IoK8sApiCoreV1EphemeralContainer.js");
/**
* An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation.
*
* To add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted.
*/
class EphemeralContainer extends base_1.Model {
}
exports.EphemeralContainer = EphemeralContainer;
exports.IoK8sApiCoreV1EphemeralContainer = EphemeralContainer;
(0, base_1.setSchema)(EphemeralContainer, "io.k8s.api.core.v1.EphemeralContainer", IoK8sApiCoreV1EphemeralContainer_1.addSchema);