Skip to content

Commit

Permalink
hi
Browse files Browse the repository at this point in the history
  • Loading branch information
bmd1905 committed Aug 31, 2024
1 parent fb1cd75 commit 6ab2e4a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
5 changes: 3 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,9 @@ pipeline {
steps {
script {
container('helm') {
sh("chmod +x ./cluster.sh")
sh("./cluster.sh")
dir('open-webui') {
sh("kubectl apply -f ./kubernetes/manifest/base -n model-serving")
}
}
}
}
Expand Down
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,7 @@ Next, Deploy the web UI to your GKE cluster:

```bash
cd open-webui
kubens model-serving
kubectl apply -f ./kubernetes/manifest/base
kubectl apply -f ./kubernetes/manifest/base -n model-serving
```

![Deploy Open WebUI](assets/gifs/7-deploy-openwebui.gif)
Expand Down Expand Up @@ -268,7 +267,7 @@ ssh <USERNAME>:<EXTERNAL_IP>
Then run the following command to get the password:

```bash
sudo docker exec -it jenkins bash
sudo docker exec -it jenkins-server bash
cat /var/jenkins_home/secrets/initialAdminPassword
```

Expand All @@ -287,9 +286,15 @@ Install the following plugins to integrate Jenkins with Docker, Kubernetes, and
- Docker
- Docker Pipeline
- Kubernetes
- GCloud SDK
<!-- - GCloud SDK -->
- Google Kubernetes Engine

After installing the plugins, restart Jenkins.

```bash
sudo docker restart jenkins-server
```

**4. Configure Jenkins:**

Set up your GitHub repository in Jenkins, and add the necessary credentials for DockerHub and GKE.
Expand Down

0 comments on commit 6ab2e4a

Please sign in to comment.