### 1. Generate GitHub OAuth App Client ID & Secret
The MEC Sandbox uses GitHub OAuth for authentication. You need to register an OAuth App in your GitHub account's Developer Settings to obtain a **Client ID** and **Client Secret**.
**Steps:**
1. Log in to [GitHub](https://github.com) and go to your account **Settings**.
2. In the left sidebar, scroll down and click **Developer settings**.
3. Click **OAuth Apps** → **New OAuth App**.
4. Fill in the application details:
-**Application name**: e.g., `MEC Sandbox`
-**Homepage URL**: e.g., `https://<VM_IP>` (or Deployment URL or VM IP)
4. Multi-node cluster: add worker nodes under `[k8s_workers]` in inventory.
---
## Multi-node (Masters + Optional Workers)
@@ -62,6 +107,6 @@ If you want to add worker nodes (separate machines), follow these steps:
ansible-playbook -K-l k8s_workers site.yml
```
Notes:
- Worker nodes will only run `common`, `kernel`, `container_runtime`, and `kubernetes/worker` roles as requested.
**Notes:**
- Worker nodes will only run `common`, `kernel`, `containerd` (or `docker`), and `kubernetes/worker` roles.
- The `kubernetes/worker` role expects a join script (created on master) at `/tmp/kube_join_cmd.sh`. If you prefer, you can expose the master token & CA hash via a secure variable and run `kubeadm join` directly in the role.