|
759 | 759 | "servicePort": { |
760 | 760 | "type": "integer" |
761 | 761 | }, |
| 762 | + "nodePort": { |
| 763 | + "type": "integer", |
| 764 | + "description": "Fixed NodePort for the router service when serviceType is NodePort. If unset, Kubernetes assigns a random port.", |
| 765 | + "minimum": 30000, |
| 766 | + "maximum": 32767 |
| 767 | + }, |
762 | 768 | "serviceDiscovery": { |
763 | 769 | "type": "string", |
764 | 770 | "description": "Service discovery mode. Available values: k8s or static.", |
|
846 | 852 | } |
847 | 853 | } |
848 | 854 | } |
| 855 | + }, |
| 856 | + "cacheserverSpec": { |
| 857 | + "type": "object", |
| 858 | + "description": "Configuration for the LMCache cache server deployment", |
| 859 | + "properties": { |
| 860 | + "repository": { |
| 861 | + "type": "string", |
| 862 | + "description": "Docker image repository for the cache server" |
| 863 | + }, |
| 864 | + "tag": { |
| 865 | + "type": "string", |
| 866 | + "description": "Docker image tag for the cache server" |
| 867 | + }, |
| 868 | + "imagePullSecrets": { |
| 869 | + "type": "array", |
| 870 | + "description": "Image pull secrets for private container registries", |
| 871 | + "items": { |
| 872 | + "type": "object", |
| 873 | + "properties": { |
| 874 | + "name": { |
| 875 | + "type": "string" |
| 876 | + } |
| 877 | + }, |
| 878 | + "required": [ |
| 879 | + "name" |
| 880 | + ] |
| 881 | + } |
| 882 | + }, |
| 883 | + "replicaCount": { |
| 884 | + "type": "integer", |
| 885 | + "description": "Number of replicas for the cache server pod" |
| 886 | + }, |
| 887 | + "containerPort": { |
| 888 | + "type": "integer", |
| 889 | + "description": "Port the cache server container is listening on" |
| 890 | + }, |
| 891 | + "servicePort": { |
| 892 | + "type": "integer", |
| 893 | + "description": "Port the cache server service will listen on" |
| 894 | + }, |
| 895 | + "serviceType": { |
| 896 | + "type": "string", |
| 897 | + "description": "Kubernetes service type for the cache server" |
| 898 | + }, |
| 899 | + "serde": { |
| 900 | + "type": "string", |
| 901 | + "description": "Serialization/deserialization format for the cache server" |
| 902 | + }, |
| 903 | + "labels": { |
| 904 | + "type": "object", |
| 905 | + "description": "Customized labels for the cache server deployment", |
| 906 | + "properties": { |
| 907 | + "environment": { |
| 908 | + "type": "string" |
| 909 | + }, |
| 910 | + "release": { |
| 911 | + "type": "string" |
| 912 | + } |
| 913 | + } |
| 914 | + }, |
| 915 | + "podAnnotations": { |
| 916 | + "type": "object", |
| 917 | + "description": "Annotations to add to the cache server pods", |
| 918 | + "additionalProperties": { |
| 919 | + "type": "string" |
| 920 | + } |
| 921 | + }, |
| 922 | + "strategy": { |
| 923 | + "type": "object", |
| 924 | + "description": "Deployment strategy for the cache server pods", |
| 925 | + "additionalProperties": true |
| 926 | + }, |
| 927 | + "maxUnavailablePodDisruptionBudget": { |
| 928 | + "type": "string", |
| 929 | + "description": "Configuration for the PodDisruptionBudget maxUnavailable field" |
| 930 | + }, |
| 931 | + "tolerations": { |
| 932 | + "type": "array", |
| 933 | + "description": "Tolerations configuration for the cache server pods", |
| 934 | + "items": { |
| 935 | + "type": "object", |
| 936 | + "additionalProperties": true |
| 937 | + } |
| 938 | + }, |
| 939 | + "nodeSelectorTerms": { |
| 940 | + "type": "array", |
| 941 | + "description": "Node selector terms. Ignored if affinity is specified.", |
| 942 | + "items": { |
| 943 | + "type": "object", |
| 944 | + "additionalProperties": true |
| 945 | + } |
| 946 | + }, |
| 947 | + "runtimeClassName": { |
| 948 | + "type": "string", |
| 949 | + "description": "RuntimeClassName configuration for the cache server pods" |
| 950 | + }, |
| 951 | + "schedulerName": { |
| 952 | + "type": "string", |
| 953 | + "description": "SchedulerName configuration for the cache server pods" |
| 954 | + }, |
| 955 | + "priorityClassName": { |
| 956 | + "type": "string", |
| 957 | + "description": "Priority class for the cache server pods" |
| 958 | + }, |
| 959 | + "securityContext": { |
| 960 | + "type": "object", |
| 961 | + "description": "Pod-level security context configuration", |
| 962 | + "additionalProperties": true |
| 963 | + }, |
| 964 | + "containerSecurityContext": { |
| 965 | + "type": "object", |
| 966 | + "description": "Container-level security context configuration", |
| 967 | + "additionalProperties": true |
| 968 | + }, |
| 969 | + "affinity": { |
| 970 | + "type": "object", |
| 971 | + "description": "Affinity configuration. If specified, takes precedence over nodeSelectorTerms.", |
| 972 | + "additionalProperties": true |
| 973 | + }, |
| 974 | + "resources": { |
| 975 | + "type": "object", |
| 976 | + "description": "Resource requests and limits for the cache server container", |
| 977 | + "properties": { |
| 978 | + "requests": { |
| 979 | + "type": "object", |
| 980 | + "properties": { |
| 981 | + "cpu": { |
| 982 | + "type": "string" |
| 983 | + }, |
| 984 | + "memory": { |
| 985 | + "type": "string" |
| 986 | + } |
| 987 | + } |
| 988 | + }, |
| 989 | + "limits": { |
| 990 | + "type": "object", |
| 991 | + "properties": { |
| 992 | + "cpu": { |
| 993 | + "type": "string" |
| 994 | + }, |
| 995 | + "memory": { |
| 996 | + "type": "string" |
| 997 | + } |
| 998 | + } |
| 999 | + } |
| 1000 | + } |
| 1001 | + }, |
| 1002 | + "startupProbe": { |
| 1003 | + "type": "object", |
| 1004 | + "description": "Configuration for the startup probe", |
| 1005 | + "properties": { |
| 1006 | + "initialDelaySeconds": { |
| 1007 | + "type": "integer" |
| 1008 | + }, |
| 1009 | + "periodSeconds": { |
| 1010 | + "type": "integer" |
| 1011 | + }, |
| 1012 | + "failureThreshold": { |
| 1013 | + "type": "integer" |
| 1014 | + }, |
| 1015 | + "timeoutSeconds": { |
| 1016 | + "type": "integer" |
| 1017 | + }, |
| 1018 | + "httpGet": { |
| 1019 | + "type": "object", |
| 1020 | + "properties": { |
| 1021 | + "path": { |
| 1022 | + "type": "string" |
| 1023 | + }, |
| 1024 | + "port": { |
| 1025 | + "type": "integer" |
| 1026 | + } |
| 1027 | + } |
| 1028 | + } |
| 1029 | + } |
| 1030 | + }, |
| 1031 | + "livenessProbe": { |
| 1032 | + "type": "object", |
| 1033 | + "description": "Configuration for the liveness probe", |
| 1034 | + "properties": { |
| 1035 | + "initialDelaySeconds": { |
| 1036 | + "type": "integer" |
| 1037 | + }, |
| 1038 | + "periodSeconds": { |
| 1039 | + "type": "integer" |
| 1040 | + }, |
| 1041 | + "failureThreshold": { |
| 1042 | + "type": "integer" |
| 1043 | + }, |
| 1044 | + "timeoutSeconds": { |
| 1045 | + "type": "integer" |
| 1046 | + }, |
| 1047 | + "httpGet": { |
| 1048 | + "type": "object", |
| 1049 | + "properties": { |
| 1050 | + "path": { |
| 1051 | + "type": "string" |
| 1052 | + }, |
| 1053 | + "port": { |
| 1054 | + "type": "integer" |
| 1055 | + } |
| 1056 | + } |
| 1057 | + } |
| 1058 | + } |
| 1059 | + } |
| 1060 | + }, |
| 1061 | + "required": [ |
| 1062 | + "repository", |
| 1063 | + "tag", |
| 1064 | + "containerPort" |
| 1065 | + ] |
849 | 1066 | } |
850 | 1067 | } |
851 | 1068 | } |
0 commit comments