Skip to content

Commit 2c60cfd

Browse files
xkd9Harika
authored andcommitted
updated
Signed-off-by: Harika <codewith3@gmail.com>
1 parent ecf9ef4 commit 2c60cfd

12 files changed

Lines changed: 0 additions & 1602 deletions

File tree

core/lib/system/precheck/read-config-file.sh

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
<<<<<<< HEAD
21
# Copyright (C) 2025-2026 Intel Corporation
3-
=======
4-
# Copyright (C) 2024-2025 Intel Corporation
5-
>>>>>>> dell-deploy-1.4-nv
62
# SPDX-License-Identifier: Apache-2.0
73

84
read_config_file() {
@@ -67,13 +63,9 @@ read_config_file() {
6763
case "$cpu_or_gpu" in
6864
"c" | "cpu")
6965
cpu_or_gpu="c"
70-
<<<<<<< HEAD
71-
deploy_habana_ai_operator="no"
72-
=======
7366
gpu_vendor=""
7467
deploy_habana_ai_operator="no"
7568
deploy_nvidia_operator="no"
76-
>>>>>>> dell-deploy-1.4-nv
7769
;;
7870
"g" | "gpu" | "gaudi2" | "gaudi3")
7971
if [[ "$cpu_or_gpu" == "gaudi2" || "$cpu_or_gpu" == "gpu" || "$cpu_or_gpu" == "g" ]]; then
@@ -83,12 +75,6 @@ read_config_file() {
8375
gaudi_platform="gaudi3"
8476
fi
8577
cpu_or_gpu="g"
86-
<<<<<<< HEAD
87-
deploy_habana_ai_operator="yes"
88-
;;
89-
*)
90-
echo "Invalid value for cpu_or_gpu. It should be 'c' or 'cpu' for CPU, or 'g', 'gpu', 'gaudi2', or 'gaudi3' for GPU."
91-
=======
9278
gpu_vendor="gaudi"
9379
deploy_habana_ai_operator="yes"
9480
deploy_nvidia_operator="no"
@@ -101,7 +87,6 @@ read_config_file() {
10187
;;
10288
*)
10389
echo "Invalid value for cpu_or_gpu. It should be 'c' or 'cpu' for CPU, or 'g', 'gpu', 'gaudi2', 'gaudi3', or 'nv-gpu' for GPU."
104-
>>>>>>> dell-deploy-1.4-nv
10590
exit 1
10691
;;
10792
esac
Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
<<<<<<< HEAD
21
# Copyright (C) 2025-2026 Intel Corporation
3-
=======
4-
# Copyright (C) 2024-2025 Intel Corporation
5-
>>>>>>> dell-deploy-1.4-nv
62
# SPDX-License-Identifier: Apache-2.0
73

84
run_infrastructure_readiness_check() {
@@ -14,19 +10,11 @@ run_infrastructure_readiness_check() {
1410
echo -e "${YELLOW}Please ensure the inventory file exists and contains the correct host information.${NC}"
1511
return 1
1612
fi
17-
<<<<<<< HEAD
18-
if ansible-playbook -i "${INVENTORY_PATH}" --become --become-user=root --extra-vars "brownfield_deployment=true" playbooks/inference-precheck.yml; then
19-
=======
2013
if ansible-playbook -i "${INVENTORY_PATH}" --become --become-user=root --become-password-file="${BECOME_PASSWORD_FILE}" --extra-vars "brownfield_deployment=true" playbooks/inference-precheck.yml; then
21-
>>>>>>> dell-deploy-1.4-nv
2214
echo -e "${GREEN}Infrastructure readiness check completed successfully.${NC}"
2315
return 0
2416
else
2517
echo -e "${RED}Infrastructure readiness check failed. Please resolve the issues before proceeding.${NC}"
2618
return 1
2719
fi
28-
<<<<<<< HEAD
2920
}
30-
=======
31-
}
32-
>>>>>>> dell-deploy-1.4-nv

core/lib/system/setup-env.sh

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
<<<<<<< HEAD
21
# Copyright (C) 2025-2026 Intel Corporation
3-
=======
4-
# Copyright (C) 2024-2025 Intel Corporation
5-
>>>>>>> dell-deploy-1.4-nv
62
# SPDX-License-Identifier: Apache-2.0
73

84
setup_initial_env() {
@@ -45,11 +41,7 @@ setup_initial_env() {
4541
fi
4642

4743
VENVDIR="$KUBESPRAYDIR/venv"
48-
<<<<<<< HEAD
49-
REMOTEDIR="/tmp/helm-charts"
50-
=======
5144
REMOTEDIR="$KUBESPRAYDIR/helm-charts"
52-
>>>>>>> dell-deploy-1.4-nv
5345
if [ ! -d "$VENVDIR" ]; then
5446
echo "Installing python3-venv package..."
5547
if command -v apt &> /dev/null; then
@@ -78,11 +70,7 @@ setup_initial_env() {
7870
else
7971
echo "Virtual environment activated successfully. Path: $VIRTUAL_ENV"
8072
fi
81-
<<<<<<< HEAD
82-
83-
=======
8473

85-
>>>>>>> dell-deploy-1.4-nv
8674
export PIP_BREAK_SYSTEM_PACKAGES=1
8775
$VENVDIR/bin/python3 -m pip install --upgrade pip
8876
$VENVDIR/bin/python3 -m pip install -U -r requirements.txt
@@ -107,10 +95,7 @@ setup_initial_env() {
10795
cp "$HOMEDIR"/playbooks/* "$KUBESPRAYDIR"/playbooks/
10896
gaudi2_values_file_path="$REMOTEDIR/vllm/gaudi-values.yaml"
10997
gaudi3_values_file_path="$REMOTEDIR/vllm/gaudi3-values.yaml"
110-
<<<<<<< HEAD
111-
=======
11298
nvidia_values_file_path="$REMOTEDIR/vllm/nvidia-values.yaml"
113-
>>>>>>> dell-deploy-1.4-nv
11499
xeon_values_file_path="$REMOTEDIR/vllm/xeon-values.yaml"
115100
cp "$HOMEDIR"/inventory/metadata/addons.yml $KUBESPRAYDIR/inventory/mycluster/group_vars/k8s_cluster/addons.yml
116101
cp "$HOMEDIR"/inventory/metadata/all.yml $KUBESPRAYDIR/inventory/mycluster/group_vars/all/all.yml
@@ -174,10 +159,7 @@ setup_initial_env() {
174159
echo "Infrastructure readiness check completed successfully."
175160
gaudi2_values_file_path="$REMOTEDIR/vllm/gaudi-values.yaml"
176161
gaudi3_values_file_path="$REMOTEDIR/vllm/gaudi3-values.yaml"
177-
<<<<<<< HEAD
178-
=======
179162
nvidia_values_file_path="$REMOTEDIR/vllm/nvidia-values.yaml"
180-
>>>>>>> dell-deploy-1.4-nv
181163
ansible-galaxy collection install community.kubernetes
182164
}
183165

@@ -200,8 +182,4 @@ invoke_prereq_workflows() {
200182
install_ansible_collection() {
201183
echo "Installing community.general collection..."
202184
ansible-galaxy collection install community.general
203-
<<<<<<< HEAD
204-
}
205-
=======
206185
}
207-
>>>>>>> dell-deploy-1.4-nv

core/lib/user-menu/parse-user-prompts.sh

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
<<<<<<< HEAD
21
# Copyright (C) 2025-2026 Intel Corporation
3-
=======
4-
# Copyright (C) 2024-2025 Intel Corporation
5-
>>>>>>> dell-deploy-1.4-nv
62
# SPDX-License-Identifier: Apache-2.0
73

84
parse_arguments() {
@@ -34,12 +30,6 @@ prompt_for_input() {
3430
echo "Proceeding with the setup of Fresh Kubernetes cluster: $deploy_kubernetes_fresh"
3531
fi
3632
if [ -z "$deploy_habana_ai_operator" ]; then
37-
<<<<<<< HEAD
38-
read -p "Do you want to proceed with deploying Habana AI Operator? (yes/no): " deploy_habana_ai_operator
39-
else
40-
echo "Proceeding with the setup of Habana AI Operator: $deploy_habana_ai_operator"
41-
fi
42-
=======
4333
if [ "$gpu_vendor" == "nvidia" ]; then
4434
deploy_habana_ai_operator="no"
4535
echo "Skipping Habana AI Operator for NVIDIA GPU deployment"
@@ -59,7 +49,6 @@ prompt_for_input() {
5949
else
6050
echo "Proceeding with the setup of NVIDIA GPU Operator: $deploy_nvidia_operator"
6151
fi
62-
>>>>>>> dell-deploy-1.4-nv
6352
if [ -z "$deploy_ingress_controller" ]; then
6453
read -p "Do you want to proceed with deploying Ingress NGINX Controller? (yes/no): " deploy_ingress_controller
6554
else

core/playbooks/deploy-genai-gateway.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
<<<<<<< HEAD
21
# Copyright (C) 2025-2026 Intel Corporation
3-
=======
4-
# Copyright (C) 2024-2025 Intel Corporation
5-
>>>>>>> dell-deploy-1.4-nv
62
# SPDX-License-Identifier: Apache-2.0
73
---
84
- name: Deploy GenAI Gateway
@@ -190,11 +186,7 @@
190186
annotations:
191187
alb.ingress.kubernetes.io/actions.ssl-redirect: '{"Type": "redirect", "RedirectConfig": { "Protocol": "HTTPS", "Port": "443", "StatusCode": "HTTP_301"}}'
192188
alb.ingress.kubernetes.io/certificate-arn: "{{ aws_certificate_arn | default('') }}"
193-
<<<<<<< HEAD
194-
alb.ingress.kubernetes.io/group.name: ei-eks
195-
=======
196189
alb.ingress.kubernetes.io/group.name: eks-genai-trace
197-
>>>>>>> dell-deploy-1.4-nv
198190
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS": 443}]'
199191
alb.ingress.kubernetes.io/reconcile: now
200192
alb.ingress.kubernetes.io/scheme: internet-facing
@@ -236,10 +228,6 @@
236228
--set langfuse.ingress.className={{ 'alb' if kubernetes_platform == 'eks' else 'nginx' }}
237229
--set langfuse.ingress.tls.enabled=true
238230
--set langfuse.ingress.hosts[0].host=trace-{{ secret_name }}
239-
<<<<<<< HEAD
240-
--set langfuse.ingress.hosts[0].paths[0].pathType=Prefix
241-
=======
242-
>>>>>>> dell-deploy-1.4-nv
243231
--set langfuse.ingress.tls.secretName=trace-{{ secret_name }}
244232
--set langfuse.nextauth.url=https://trace-{{ secret_name }}
245233
--set langfuse.route.enabled=false

0 commit comments

Comments
 (0)