Skip to content

Commit 8037896

Browse files
build: add azure resource template
1 parent 91bb7cd commit 8037896

File tree

5 files changed

+121
-4
lines changed

5 files changed

+121
-4
lines changed
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"$schema": "https://schema.management.azure.com/schemas/0.1.2-preview/CreateUIDefinition.MultiVm.json#",
3+
"handler": "Microsoft.Azure.CreateUIDef",
4+
"version": "0.1.2-preview",
5+
"parameters": {
6+
"config": {
7+
"isWizard": false,
8+
"basics": { }
9+
},
10+
"basics": [ ],
11+
"steps": [ ],
12+
"outputs": { },
13+
"resourceTypes": [ ]
14+
}
15+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
3+
"contentVersion": "1.0.0.0",
4+
"parameters": {
5+
"imageName": {
6+
"type": "string",
7+
"defaultValue": "ghcr.io/berriai/litellm:main-latest"
8+
},
9+
"containerName": {
10+
"type": "string",
11+
"defaultValue": "litellm-container"
12+
},
13+
"dnsLabelName": {
14+
"type": "string",
15+
"defaultValue": "litellm"
16+
},
17+
"portNumber": {
18+
"type": "int",
19+
"defaultValue": 4000
20+
}
21+
},
22+
"resources": [
23+
{
24+
"type": "Microsoft.ContainerInstance/containerGroups",
25+
"apiVersion": "2021-03-01",
26+
"name": "[parameters('containerName')]",
27+
"location": "[resourceGroup().location]",
28+
"properties": {
29+
"containers": [
30+
{
31+
"name": "[parameters('containerName')]",
32+
"properties": {
33+
"image": "[parameters('imageName')]",
34+
"resources": {
35+
"requests": {
36+
"cpu": 1,
37+
"memoryInGB": 2
38+
}
39+
},
40+
"ports": [
41+
{
42+
"port": "[parameters('portNumber')]"
43+
}
44+
]
45+
}
46+
}
47+
],
48+
"osType": "Linux",
49+
"restartPolicy": "Always",
50+
"ipAddress": {
51+
"type": "Public",
52+
"ports": [
53+
{
54+
"protocol": "tcp",
55+
"port": "[parameters('portNumber')]"
56+
}
57+
],
58+
"dnsNameLabel": "[parameters('dnsLabelName')]"
59+
}
60+
}
61+
}
62+
]
63+
}
+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
param imageName string = 'ghcr.io/berriai/litellm:main-latest'
2+
param containerName string = 'litellm-container'
3+
param dnsLabelName string = 'litellm'
4+
param portNumber int = 4000
5+
6+
resource containerGroupName 'Microsoft.ContainerInstance/containerGroups@2021-03-01' = {
7+
name: containerName
8+
location: resourceGroup().location
9+
properties: {
10+
containers: [
11+
{
12+
name: containerName
13+
properties: {
14+
image: imageName
15+
resources: {
16+
requests: {
17+
cpu: 1
18+
memoryInGB: 2
19+
}
20+
}
21+
ports: [
22+
{
23+
port: portNumber
24+
}
25+
]
26+
}
27+
}
28+
]
29+
osType: 'Linux'
30+
restartPolicy: 'Always'
31+
ipAddress: {
32+
type: 'Public'
33+
ports: [
34+
{
35+
protocol: 'tcp'
36+
port: portNumber
37+
}
38+
]
39+
dnsNameLabel: dnsLabelName
40+
}
41+
}
42+
}

ui/litellm-dashboard/src/components/settings.tsx

+1-4
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ const Settings: React.FC<SettingsPageProps> = ({
341341
return (
342342
<div className="w-full mx-4">
343343
<Grid numItems={1} className="gap-2 p-8 w-full mt-2">
344-
<Callout title="Presidio PII / Guardrails Coming Soon" color="sky">
344+
<Callout title="[UI] Presidio PII + Guardrails Coming Soon. https://docs.litellm.ai/docs/proxy/pii_masking" color="sky">
345345

346346
</Callout>
347347
<TabGroup>
@@ -353,9 +353,6 @@ const Settings: React.FC<SettingsPageProps> = ({
353353
<TabPanel>
354354

355355
<Card >
356-
<Text>
357-
Presidio + Guardrails coming soon
358-
</Text>
359356
<Table>
360357
<TableHead>
361358
<TableRow>

0 commit comments

Comments
 (0)