# KubeletConfigProxy

- Module: [Aspire.Hosting.Azure.Provisioning.ContainerService](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Represents the KubeletConfig Azure Provisioning model.

## Definition

```typescript
interface KubeletConfigProxy {
  allowedUnsafeSysctls: Aspire_Hosting_Azure_Provisioning_ContainerService_Generated_ListOfStringProxy;
  containerLogMaxFiles: BicepValueProxy | number;
  containerLogMaxSizeInMB: BicepValueProxy | number;
  cpuCfsQuotaPeriod: BicepValueProxy | string;
  cpuManagerPolicy: BicepValueProxy | string;
  imageGcHighThreshold: BicepValueProxy | number;
  imageGcLowThreshold: BicepValueProxy | number;
  isCpuCfsQuotaEnabled: BicepValueProxy | boolean;
  podMaxPids: BicepValueProxy | number;
  shouldFailStartWithSwapOn: BicepValueProxy | boolean;
  topologyManagerPolicy: BicepValueProxy | string;
  clearContainerLogMaxFiles(): void;
  clearContainerLogMaxSizeInMB(): void;
  clearCpuCfsQuotaPeriod(): void;
  clearCpuManagerPolicy(): void;
  clearImageGcHighThreshold(): void;
  clearImageGcLowThreshold(): void;
  clearIsCpuCfsQuotaEnabled(): void;
  clearPodMaxPids(): void;
  clearShouldFailStartWithSwapOn(): void;
  clearTopologyManagerPolicy(): void;
}
```

## Properties

- `allowedUnsafeSysctls`: [Aspire_Hosting_Azure_Provisioning_ContainerService_Generated_ListOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/aspire-hosting-azure-provisioning-containerservice-generated-listofstringproxy.md) `get - set` -- Gets or sets the AllowedUnsafeSysctls provisioning property.
- `containerLogMaxFiles`: `BicepValueProxy | number` `get - set` -- Gets or sets the ContainerLogMaxFiles provisioning property.
- `containerLogMaxSizeInMB`: `BicepValueProxy | number` `get - set` -- Gets or sets the ContainerLogMaxSizeInMB provisioning property.
- `cpuCfsQuotaPeriod`: `BicepValueProxy | string` `get - set` -- Gets or sets the CpuCfsQuotaPeriod provisioning property.
- `cpuManagerPolicy`: `BicepValueProxy | string` `get - set` -- Gets or sets the CpuManagerPolicy provisioning property.
- `imageGcHighThreshold`: `BicepValueProxy | number` `get - set` -- Gets or sets the ImageGcHighThreshold provisioning property.
- `imageGcLowThreshold`: `BicepValueProxy | number` `get - set` -- Gets or sets the ImageGcLowThreshold provisioning property.
- `isCpuCfsQuotaEnabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsCpuCfsQuotaEnabled provisioning property.
- `podMaxPids`: `BicepValueProxy | number` `get - set` -- Gets or sets the PodMaxPids provisioning property.
- `shouldFailStartWithSwapOn`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the ShouldFailStartWithSwapOn provisioning property.
- `topologyManagerPolicy`: `BicepValueProxy | string` `get - set` -- Gets or sets the TopologyManagerPolicy provisioning property.

## Methods

- [clearContainerLogMaxFiles](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/kubeletconfigproxy/clearcontainerlogmaxfiles.md) -- `method` -- Clears the ContainerLogMaxFiles provisioning property.
    ```typescript
  clearContainerLogMaxFiles(): void
  ```
- [clearContainerLogMaxSizeInMB](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/kubeletconfigproxy/clearcontainerlogmaxsizeinmb.md) -- `method` -- Clears the ContainerLogMaxSizeInMB provisioning property.
    ```typescript
  clearContainerLogMaxSizeInMB(): void
  ```
- [clearCpuCfsQuotaPeriod](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/kubeletconfigproxy/clearcpucfsquotaperiod.md) -- `method` -- Clears the CpuCfsQuotaPeriod provisioning property.
    ```typescript
  clearCpuCfsQuotaPeriod(): void
  ```
- [clearCpuManagerPolicy](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/kubeletconfigproxy/clearcpumanagerpolicy.md) -- `method` -- Clears the CpuManagerPolicy provisioning property.
    ```typescript
  clearCpuManagerPolicy(): void
  ```
- [clearImageGcHighThreshold](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/kubeletconfigproxy/clearimagegchighthreshold.md) -- `method` -- Clears the ImageGcHighThreshold provisioning property.
    ```typescript
  clearImageGcHighThreshold(): void
  ```
- [clearImageGcLowThreshold](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/kubeletconfigproxy/clearimagegclowthreshold.md) -- `method` -- Clears the ImageGcLowThreshold provisioning property.
    ```typescript
  clearImageGcLowThreshold(): void
  ```
- [clearIsCpuCfsQuotaEnabled](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/kubeletconfigproxy/cleariscpucfsquotaenabled.md) -- `method` -- Clears the IsCpuCfsQuotaEnabled provisioning property.
    ```typescript
  clearIsCpuCfsQuotaEnabled(): void
  ```
- [clearPodMaxPids](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/kubeletconfigproxy/clearpodmaxpids.md) -- `method` -- Clears the PodMaxPids provisioning property.
    ```typescript
  clearPodMaxPids(): void
  ```
- [clearShouldFailStartWithSwapOn](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/kubeletconfigproxy/clearshouldfailstartwithswapon.md) -- `method` -- Clears the ShouldFailStartWithSwapOn provisioning property.
    ```typescript
  clearShouldFailStartWithSwapOn(): void
  ```
- [clearTopologyManagerPolicy](/reference/api/typescript/aspire.hosting.azure.provisioning.containerservice/kubeletconfigproxy/cleartopologymanagerpolicy.md) -- `method` -- Clears the TopologyManagerPolicy provisioning property.
    ```typescript
  clearTopologyManagerPolicy(): void
  ```
