Skip to content

Commit c8725df

Browse files
committedJun 11, 2024
update
1 parent 6f98a05 commit c8725df

File tree

2 files changed

+29
-9
lines changed

2 files changed

+29
-9
lines changed
 

‎README.md

+26-6
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,35 @@
1-
# KaaS Bootstrap Setup
1+
# MCC Bootstrap Setup
22

33
This guide provides step-by-step instructions for setting up a bare metal server and bootstrapping a MCC environment.
44

55
## Prerequisites
66

7-
- A bare metal server with at least:
8-
- 256 GB of memory
9-
- 32 cores
10-
- 1 TB of storage
7+
1. **Baremetal Server Requirements:**
8+
- Minimum 256 GB memory
9+
- Minimum 32 cores CPU
10+
- Minimum 1 TB storage
1111

12-
## Steps for deploying MCC
12+
2. **Operating System:**
13+
- Ubuntu 20.04
14+
15+
3. **Clone the Repository:**
16+
```bash
17+
git clone http://github.com/reddydodda/mcc-virtual.git
18+
cd mcc-virtual/
19+
```
20+
21+
## Automated Deployment Script
22+
23+
The Python script mcc-mosk.py will automates the entire deployment process of MCC and MOSK without any manual steps.
24+
25+
### Steps to Use `mcc-mosk.py`:
26+
27+
```bash
28+
python3 mcc-mosk.py
29+
```
30+
31+
32+
## Manual Steps for deploying MCC
1333

1434
### 1. Run the VBMC Script
1535

‎mcc-mosk.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def wait_for_condition(command, index, expected_state, timeout=9000, interval=10
7676

7777
# Step 9: Check bmh and lcmmachines status
7878
wait_for_condition("kubectl get bmh -o wide", "STATE", "provisioned")
79-
time.sleep(30)
79+
time.sleep(180)
8080
wait_for_condition("kubectl get lcmmachines -o wide", "STATE", "Ready")
8181

8282
# Step 10: Generate kubeconfig and keycloak creds
@@ -108,9 +108,9 @@ def wait_for_condition(command, index, expected_state, timeout=9000, interval=10
108108

109109
# Step 12: Wait for BMH and lcmmachines in mosk namespace to be Ready
110110
wait_for_condition("kubectl get bmh -o wide -n mosk", "STATE", "provisioned")
111-
time.sleep(30)
111+
time.sleep(180)
112112
wait_for_condition("kubectl get lcmmachines -o wide -n mosk", "STATE", "Ready")
113-
time.sleep(30)
113+
time.sleep(180)
114114

115115
# Step 13: Check kcc status
116116
wait_for_condition("kubectl get kcc -o wide -n mosk", "HEALTH STATE", "Ready")

0 commit comments

Comments
 (0)
Please sign in to comment.