Compare commits
1 Commits
f104425b91
...
6f1c51bfd8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6f1c51bfd8 |
@@ -43,13 +43,10 @@ export function getK8sClient(): k8s.CoreV1Api {
|
|||||||
/**
|
/**
|
||||||
* Create pod spec for agent
|
* Create pod spec for agent
|
||||||
*/
|
*/
|
||||||
export function createAgentPodSpec(podName: string, userId: string) {
|
export function createAgentPodSpec(podName: string, userId: string): k8s.V1Pod {
|
||||||
return {
|
return {
|
||||||
apiVersion: 'v1',
|
|
||||||
kind: 'Pod',
|
|
||||||
metadata: {
|
metadata: {
|
||||||
name: podName,
|
name: podName,
|
||||||
namespace: 'agents',
|
|
||||||
labels: {
|
labels: {
|
||||||
app: 'claude-agent',
|
app: 'claude-agent',
|
||||||
userId: userId,
|
userId: userId,
|
||||||
|
|||||||
Reference in New Issue
Block a user