You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-5Lines changed: 12 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,10 @@
1
-
<center>
2
-
<imgsrc="documentation/images/kubernetes-application.svg"alt="BigBitBus KAT components"width="400"/>
3
-
</center>
1
+
<divalign="center">
2
+
<h1> BigBitBus KAT Components</h1>
3
+
<img src="documentation/images/kubernetes-application.svg" alt="BigBitBus KAT components" width="400"/>
4
4
5
-
**Components of the BigBitBus KAT application code. Click on the diagram to enlarge, or follow [this link](documentation/) for detailed documentation**
5
+
<!-- **Components of the BigBitBus KAT application code. Click on the diagram to enlarge, or follow [this link](documentation/) for detailed documentation** -->
6
+
**Click on the diagram to enlarge, or follow [this link](documentation/) for detailed documentation**
7
+
</div>
6
8
7
9
# Introduction
8
10
@@ -16,7 +18,6 @@ Most components of the Kubernetes cloud native ecosystem are extremely well docu
16
18
17
19
From here, we recommend you start with a [review of some Kubernetes and related concepts](./documentation/) we have put together. Or, if you want to directly go to the code and examples you can navigate the folders in the repository, the table below will launch you right in.
18
20
19
-
20
21
# What is where?
21
22
22
23
| Category | File or Directory | Description |
@@ -28,6 +29,12 @@ From here, we recommend you start with a [review of some Kubernetes and related
28
29
| Monitoring |[code/k8s-common-code/monitoring](code/k8s-common-code/monitoring)|Installing and configuring monitoring with Prometheus and Grafana into the Kubernetes cluster using standard Helm charts created by the Prometheus community |
29
30
| Kubernetes Dashboard |[code/k8s-common-code/k8sdashboard](code/k8s-common-code/k8sdashboard)| Deploying the Kubernetes dashboard, a browser-based GUI view of the Kubernetes cluster |
30
31
32
+
# Deploy KAT Project
33
+
| Deployment | File or Directory | Description |
34
+
|---|---|---|
35
+
| Cloud Native |[documentation/cloudvm.md](./documentation/cloudvm.md)| Deploy KAT on a Cloud |
36
+
| Local System |[documentation/quickstart-vagrant.md](./documentation/quickstart-vagrant.md)| Deploy KAT on your Local System|
37
+
31
38
# License
32
39
33
40
All code and configuration in the BigBitBus KAT repository (code files contained in this directory and all subdirectories) is licensed under the [Apache 2.0 License](http://www.apache.org/licenses/LICENSE-2.0).
For Windows, see [this file](windows-setup.md) on how to setup Putty for port forwarding.
38
+
For Windows, see [this file](putty-setup.md) on how to setup Putty for port forwarding.
39
39
40
40
You can now open a web-browser and reach these end-points
41
41
- Todo application Vuejs Frontend [http://localhost:8080/frontend/](http://localhost:8080/frontend/)[Learn more](../code/app-code/frontend/todo-vuejs/)
42
-
- Todo application browsable API [http://localhost:8080/djangoapi/api/v1/](http://localhost:8080/djangoapi/api/v1)[Learn more](../code/app-code/api/todo-python-django/)
42
+
- Todo application browsable API [http://localhost:8080/djangoapi/apis/v1/](http://localhost:8080/djangoapi/apis/v1)[Learn more](../code/app-code/api/todo-python-django/)
43
43
- Kubernetes Dashboard [http://localhost:8080/dashboard/](http://localhost:8080/dashboard/)[Learn more](../code/k8s-common-code/k8sdashboard/) (Access token is printed in the Vagrant output as mentioned above).
Copy file name to clipboardExpand all lines: documentation/putty-setup.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
### This README goes over the steps needed to connect to the cloud VM and display the KAT example on your local Windows machine. You don't need this if you used Vagrant on your local machine.
1
+
### Connect to Cloud VM from your Local Windows Machine using Port Forwarding Technique.
Copy file name to clipboardExpand all lines: documentation/quickstart-vagrant.md
+15-4Lines changed: 15 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,7 @@ Follow these steps to quickly deploy the KAT example. You will need a PC with at
4
4
5
5
1. Clone this repository: `git clone https://github.com/BigBitBusInc/kubernetes-automation-toolkit.git`
6
6
7
-
2. Install Vagrant for your OS (Vagrant supports Windows, Linux and MacOS); you may also need to install the hypervisor software and a vagrant plugin for this hypervisor on your platform; you should also find this information on the Vagrant installation page for your OS. [This link](https://gist.github.com/wpscholar/a49594e2e2b918f4d0c4) lists some useful Vagrant commands.
8
-
7
+
2. Install `Vagrant` for your OS (Vagrant supports Windows, Linux and MacOS); you may also need to install the hypervisor software and a vagrant plugin for this hypervisor on your platform; We have [guidelines](../documentation/vagrant-setup.md) on how to setup Vagrant on your PC.
9
8
3. Navigate to the root directory of the KAT repository and enter this command in a terminal
10
9
```bash
11
10
cd kubernetes-automation-toolkit
@@ -16,7 +15,7 @@ Please be patient, even on a fast Internet connection remember we are downloadin
16
15
17
16
3. You can now open a web-browser and reach these end-points
18
17
- Todo application Vuejs Frontend [http://localhost:8080/frontend/](http://localhost:8080/frontend/)[Learn more](../code/app-code/frontend/todo-vuejs/)
19
-
- Todo application browsable API [http://localhost:8080/djangoapi/api/v1/](http://localhost:8080/djangoapi/api/v1)[Learn more](../code/app-code/api/todo-python-django/)
18
+
- Todo application browsable API [http://localhost:8080/djangoapi/apis/v1/](http://localhost:8080/djangoapi/apis/v1)[Learn more](../code/app-code/api/todo-python-django/)
20
19
- Kubernetes Dashboard [http://localhost:8080/dashboard/](http://localhost:8080/dashboard/)[Learn more](../code/k8s-common-code/k8sdashboard/) (Access token is printed in the Vagrant output as mentioned above).
For Windows you can look at some of the screenshots in [this file](windows-setup.md) to get an idea of how to set ssh port-forwarding with [Putty](https://www.putty.org/).
53
+
For Windows you can look at some of the screenshots in [this file](putty-setup.md) to get an idea of how to set ssh port-forwarding with [Putty](https://www.putty.org/).
55
54
56
55
57
56
Here are links to some useful documentation of different tools that are used in the KAT example.
@@ -75,3 +74,15 @@ To destroy the Vagrant VM, open a terminal and go to the kubernetes-automation-t
75
74
```
76
75
vagrant destroy
77
76
```
77
+
## Useful Vagrant Commands
78
+
| Vagrant | Cmd |
79
+
| ---- | ---------- |
80
+
| Start Vagrant Environment |`vagrant up`|
81
+
| Connect to Vagrant via SSH |`vagrant ssh`|
82
+
| Stop Vagrant Machine |`vagrant halt`|
83
+
| Resume Vagrant Machine |`vagrant resume`|
84
+
| Suspend Virtual Machine |`vagrant suspend`|
85
+
| List Installed Boxes |`vagrant box list`|
86
+
| Delete Vagrant Machine |`vagrant destroy`|
87
+
88
+
[This link](https://gist.github.com/wpscholar/a49594e2e2b918f4d0c4) lists some useful Vagrant commands.
1. Install `VirtualBox`. Vagrant requires VirtualBox to create Virtual Machine. Navigate to https://www.virtualbox.org/wiki/Downloads to Download Virtual Box.
4
+
5
+
2. Install `Vagrant`. Navigate to https://www.vagrantup.com/downloads to download latest version of Vagrant.
6
+
7
+
3. Install `Putty`. Navigate to https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html to download latest version of putty.
8
+
9
+
10
+
## Setup Vagrant on Mac
11
+
12
+
1. Install `Virtual box` using [direct download](https://www.virtualbox.org/wiki/Downloads) or use homebrew for installing it.<br/> `brew cask install virtualbox`
13
+
14
+
2. Install `Vagrant` using [direct download](https://www.vagrantup.com/downloads.html) or use homebrew for installing it.<br/> `brew cask install vagrant`
0 commit comments