sync commit 0d264c16f7711fe34c5f7e4f1cc1bfa95a458400 from kubevela-refs/heads/release-1.0

This commit is contained in:
kubevela-bot 2021-04-30 11:56:16 +00:00
parent 063c7446af
commit c6d04f2007
5 changed files with 13 additions and 181 deletions

View File

@ -1,174 +0,0 @@
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: 'KubeVela',
tagline: 'Make shipping applications more enjoyable.',
url: 'https://kubevela.io',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'oam-dev', // Usually your GitHub org/user name.
projectName: 'kubevela.io', // Usually your repo name.
i18n: {
defaultLocale: 'en',
locales: ['en', 'zh'],
localeConfigs: {
en: {
label: 'English',
},
zh: {
label: '简体中文',
},
},
},
themeConfig: {
announcementBar: {
id: 'start',
content:
'⭐️ If you like KubeVela, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/oam-dev/kubevela">GitHub</a>! ⭐️',
},
navbar: {
title: 'KubeVela',
logo: {
alt: 'KubeVela',
src: 'img/logo.svg',
srcDark: 'img/logoDark.svg',
},
items: [
{
type: 'docsVersionDropdown',
position: 'right',
},
{
to: 'docs/',
activeBasePath: 'docs',
label: 'Documentation',
position: 'left',
},
{
to: 'blog',
label: 'Blog',
position: 'left'
},
{
type: 'localeDropdown',
position: 'right',
dropdownItemsAfter: [
{
to: '/blog/kubevela-official-documentation-translation-event',
label: 'Help Us Translate',
},
],
},
{
href: 'https://github.com/oam-dev/kubevela',
className: 'header-githab-link',
position: 'right',
},
],
},
footer: {
links: [
{
title: 'Documentation',
items: [
{
label: 'Getting Started',
to: '/docs/install',
},
{
label: 'Platform Builder Guide',
to: '/docs/platform-engineers/overview',
},
{
label: 'Developer Experience Guide',
to: '/docs/quick-start-appfile',
},
],
},
{
title: 'Community',
items: [
{
label: 'CNCF Slack ( #kubevela channel )',
href: 'https://slack.cncf.io/'
},
{
label: 'Gitter',
href: 'https://gitter.im/oam-dev/community',
},
{
label: 'DingTalk (23310022)',
href: '.',
}
],
},
{
title: 'More',
items: [
{
label: 'GitHub',
href: 'https://github.com/oam-dev/kubevela',
},
{
label: 'Blog',
to: 'blog',
},
],
},
],
copyright: `
<br />
<strong>© KubeVela Authors ${new Date().getFullYear()} | Documentation Distributed under <a herf="https://creativecommons.org/licenses/by/4.0">CC-BY-4.0</a> </strong> <strong>| Powered by <a href="https://www.netlify.com">Netlify</a></strong>
<br />
`,
},
prism: {
theme: require('prism-react-renderer/themes/dracula'),
},
},
plugins: [
[
require.resolve("@easyops-cn/docusaurus-search-local"),
{
hashed: true,
language: ["en", "zh"],
indexBlog: true,
},
],
],
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl: function ({
locale,
docPath,
}) {
return `https://github.com/oam-dev/kubevela/edit/master/docs/${locale}/${docPath}`;
},
showLastUpdateAuthor: true,
showLastUpdateTime: true,
includeCurrentVersion: true,
lastVersion: 'v1.0',
// versions: {
// current: {
// label: 'master',
// path: '/',
// },
// },
},
blog: {
showReadingTime: true,
editUrl:
'https://github.com/oam-dev/kubevela.io/tree/main/blog',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};

View File

@ -2,7 +2,7 @@
title: Provision and Consume Cloud Resources by Terraform
---
> ⚠️ This section requires your platform builder has already installed the [Terraform related capabilities](../platform-engineers/terraform.md).
> ⚠️ This section requires your platform builder has already installed the [Terraform related capabilities](../platform-engineers/terraform).
Check the parameters of cloud resource components and trait.

View File

@ -2,14 +2,14 @@
title: Terraform
---
In addition to provisioning and consuming cloud resources by [Crossplane](./cloud-services.md), we can also use Terraform,
In addition to provisioning and consuming cloud resources by [Crossplane](./cloud-services), we can also use Terraform,
which is one of four ComponentDefinition schematic types `cue`, `kube`, `helm` and `terraform`.
To enable end users to be able to create application by Terraform, please follow these steps.
## Install Terraform Controller chart
## Install Terraform Controller
Download the latest chart, like `terraform-controller-chart-0.1.4.tgz`, from the latest [releases](https://github.com/oam-dev/terraform-controller/releases) and install it.
Download the latest chart, like `terraform-controller-chart-0.1.4.tgz`, from the latest [releases list](https://github.com/oam-dev/terraform-controller/releases) and install it.
```shell
$ helm install terraform-controller terraform-controller-0.1.2.tgz
@ -21,7 +21,12 @@ REVISION: 1
TEST SUITE: None
```
For more detailed instruction, please refer to [Terraform controller getting started](https://github.com/oam-dev/terraform-controller/blob/master/getting-started.md).
## Apply Provider credentials
By applying Terraform Provider credentials, Terraform controller can be authenticated to deploy and manage cloud resources.
Please refer to [Terraform controller getting started](https://github.com/oam-dev/terraform-controller/blob/master/getting-started.md) on how to apply Provider for Alibaba Cloud or AWS.
## Register ComponentDefinition and TraitDefinition
@ -145,4 +150,4 @@ For more detailed introduction, please refer to [Crossplane](https://kubevela.io
## Next
Now You can refer to [Terraform for end users](../end-user/terraform.md) to provision and consume cloud resource by Terraform.
Now You can refer to [Terraform for end users](../end-user/terraform) to provision and consume cloud resource by Terraform.

View File

@ -4,7 +4,7 @@ title: Roadmap
Date: 2021-01-01 to 2021-03-30
> Note: add roadmap entry to to `roadmap/README.md`
> Note: add roadmap entry to `roadmap/README.md`
## Core Platform

View File

@ -97,6 +97,7 @@ test-rolling-v1 9s
- replicas: 10%
- replicas: 40%
- replicas: 50%
targetSize: 5
```
Use can check the status of the ApplicationRollout and wait for the rollout to complete.