mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-27 16:17:34 +00:00
81 lines
2.4 KiB
Markdown
81 lines
2.4 KiB
Markdown
# Quick Start
|
|
|
|
Welcome to KubeVela! In this guide, we'll walk you through how to install KubeVela, and deploy your first simple application.
|
|
|
|
## Step 1: Install
|
|
|
|
Make sure you have finished and verified the installation following [this guide](./install.md).
|
|
|
|
## Step 2: Deploy Your First Application
|
|
|
|
```bash
|
|
$ vela up -f https://raw.githubusercontent.com/oam-dev/kubevela/master/docs/examples/vela.yaml
|
|
Parsing vela.yaml ...
|
|
Loading templates ...
|
|
|
|
Rendering configs for service (testsvc)...
|
|
Writing deploy config to (.vela/deploy.yaml)
|
|
|
|
Applying deploy configs ...
|
|
Checking if app has been deployed...
|
|
App has not been deployed, creating a new deployment...
|
|
✅ App has been deployed 🚀🚀🚀
|
|
Port forward: vela port-forward first-vela-app
|
|
SSH: vela exec first-vela-app
|
|
Logging: vela logs first-vela-app
|
|
App status: vela status first-vela-app
|
|
Service status: vela status first-vela-app --svc testsvc
|
|
```
|
|
|
|
Check the status until we see `Routes` are ready:
|
|
```bash
|
|
$ vela status first-vela-app
|
|
About:
|
|
|
|
Name: first-vela-app
|
|
Namespace: default
|
|
Created at: ...
|
|
Updated at: ...
|
|
|
|
Services:
|
|
|
|
- Name: testsvc
|
|
Type: webservice
|
|
HEALTHY Ready: 1/1
|
|
Last Deployment:
|
|
Created at: ...
|
|
Updated at: ...
|
|
Traits:
|
|
- ✅ ingress: Visiting URL: testsvc.example.com, IP: <your IP address>
|
|
```
|
|
|
|
**In [kind cluster setup](./install.md#kind)**, you can visit the service via localhost. In other setups, replace localhost with ingress address accordingly.
|
|
|
|
```
|
|
$ curl -H "Host:testsvc.example.com" http://localhost/
|
|
<xmp>
|
|
Hello World
|
|
|
|
|
|
## .
|
|
## ## ## ==
|
|
## ## ## ## ## ===
|
|
/""""""""""""""""\___/ ===
|
|
~~~ {~~ ~~~~ ~~~ ~~~~ ~~ ~ / ===- ~~~
|
|
\______ o _,/
|
|
\ \ _,'
|
|
`'--.._\..--''
|
|
</xmp>
|
|
```
|
|
**Voila!** You are all set to go.
|
|
|
|
## What's Next
|
|
|
|
Congratulations! You have just deployed an app using KubeVela. Here are some recommended next steps:
|
|
|
|
- Learn about KubeVela in detail starting from its [core concepts](concepts)
|
|
- Try out more [end user guides](developers/learn-appfile.md)
|
|
- Join `#kubevela` channel in CNCF [Slack](https://cloud-native.slack.com) and/or [Gitter](https://gitter.im/oam-dev/community)
|
|
|
|
Welcome onboard and sail Vela!
|