mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Merge branch 'master' into 6868-docs-uncomment-links-revert-commit-5da7168
This commit is contained in:
commit
0b7f0f0b7c
7
.gitignore
vendored
7
.gitignore
vendored
@ -15,8 +15,13 @@ cypress/videos
|
|||||||
cypress/screenshots/
|
cypress/screenshots/
|
||||||
cypress.env.json
|
cypress.env.json
|
||||||
|
|
||||||
|
.vuepress/.cache/
|
||||||
|
.vuepress/.temp/
|
||||||
|
.vuepress/dist/
|
||||||
|
|
||||||
|
|
||||||
!.gitkeep
|
!.gitkeep
|
||||||
**/coverage
|
**/coverage
|
||||||
|
|
||||||
release/
|
release/
|
||||||
*~
|
*~
|
||||||
|
|||||||
@ -1,11 +1,12 @@
|
|||||||
import { defineUserConfig } from 'vuepress'
|
import { defineUserConfig } from 'vuepress'
|
||||||
|
import { viteBundler } from '@vuepress/bundler-vite'
|
||||||
|
|
||||||
import meta from './config/meta'
|
import meta from './config/meta'
|
||||||
import theme from './config/theme'
|
import theme from './config/theme'
|
||||||
import plugins from './config/plugins'
|
|
||||||
|
|
||||||
export default defineUserConfig({
|
export default defineUserConfig({
|
||||||
pagePatterns: ['**/*.md', '!.vuepress', '!node_modules', '!backend/node_modules', '!webapp/node_modules', '!deployment/src/old'],
|
pagePatterns: ['**/*.md', '!.vuepress', '!node_modules', '!backend/node_modules', '!webapp/node_modules', '!deployment/src/old'],
|
||||||
|
bundler: viteBundler(),
|
||||||
...meta,
|
...meta,
|
||||||
theme,
|
theme,
|
||||||
plugins,
|
|
||||||
})
|
})
|
||||||
|
|||||||
@ -1,18 +0,0 @@
|
|||||||
import { searchProPlugin } from 'vuepress-plugin-search-pro'
|
|
||||||
|
|
||||||
export default [
|
|
||||||
searchProPlugin({
|
|
||||||
indexContent: true,
|
|
||||||
autoSuggestions: true,
|
|
||||||
customFields: [
|
|
||||||
{
|
|
||||||
getter: (page) => page.frontmatter.category,
|
|
||||||
formatter: "Category: $content",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
getter: (page) => page.frontmatter.tag,
|
|
||||||
formatter: "Tag: $content",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
})
|
|
||||||
]
|
|
||||||
@ -27,6 +27,20 @@ export default hopeTheme({
|
|||||||
mdEnhance: {
|
mdEnhance: {
|
||||||
tabs: true,
|
tabs: true,
|
||||||
imgSize: true
|
imgSize: true
|
||||||
|
},
|
||||||
|
searchPro: {
|
||||||
|
indexContent: true,
|
||||||
|
autoSuggestions: true,
|
||||||
|
customFields: [
|
||||||
|
{
|
||||||
|
getter: (page) => page.frontmatter.category,
|
||||||
|
formatter: "Category: $content",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
getter: (page) => page.frontmatter.tag,
|
||||||
|
formatter: "Tag: $content",
|
||||||
|
},
|
||||||
|
],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@ -49,6 +49,49 @@ Skip `Patch & Minor Version Upgrades` for now.
|
|||||||
You don't need a 1-click app. Our helmet script will install the required NGINXs.
|
You don't need a 1-click app. Our helmet script will install the required NGINXs.
|
||||||
Therefore, skip this step as well.
|
Therefore, skip this step as well.
|
||||||
|
|
||||||
|
For a 1-click Kubernetes Dashboard or alternatives, follow the next steps.
|
||||||
|
|
||||||
|
## Install Kubernetes Dashboard
|
||||||
|
|
||||||
|
We recommend installing a Kubernetes Dashboard, as DigitalOcean no longer offers a pre-installed dashboard.
|
||||||
|
|
||||||
|
- 1-click-deployment of [Kubernetes Dashboard on DigitalOcean marketplace](https://marketplace.digitalocean.com/apps/kubernetes-dashboard)
|
||||||
|
|
||||||
|
There you will also find a section entitled `Getting Started`, which describes how you can log in from your local computer.
|
||||||
|
|
||||||
|
Very short description:
|
||||||
|
|
||||||
|
### In your DigitalOcean Account
|
||||||
|
|
||||||
|
For authentication, download the current cluster configuration file from DigitalOcean.
|
||||||
|
|
||||||
|
### In Terminal
|
||||||
|
|
||||||
|
Set the context of the cluster by command:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ kubectl config use-context <context-name>
|
||||||
|
```
|
||||||
|
|
||||||
|
Port-forward the Kubernetes Dashboard to your local machine:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# save pod name
|
||||||
|
$ export POD_NAME=$(kubectl get pods -n kubernetes-dashboard -l "app.kubernetes.io/name=kubernetes-dashboard,app.kubernetes.io/instance=kubernetes-dashboard" -o jsonpath="{.items[0].metadata.name}")
|
||||||
|
# forward port
|
||||||
|
$ kubectl -n kubernetes-dashboard port-forward $POD_NAME 8443:8443
|
||||||
|
```
|
||||||
|
|
||||||
|
### Log-In to Kubernetes Dashboard
|
||||||
|
|
||||||
|
Access the URL in your local web browser at `https://127.0.0.1:8443/`, and log in using your Kubernetes cluster credentials – downloaded config file. You may encounter a certificate warning, so make sure to override it.
|
||||||
|
|
||||||
|
## Alternatives to Kubernetes Dashboard
|
||||||
|
|
||||||
|
DigitalOcean has a website about Kubernetes Dashboard and alternatives:
|
||||||
|
|
||||||
|
- <https://www.digitalocean.com/community/conceptual-articles/kubernetes-visualization-tools?mkt_tok=MTEzLURUTi0yNjYAAAGQ0YS-wbZaWn5th-m86-fM7vgiLvxNipWpAsUrgd2z4YgiMB0aRgCIDYEiC0Y2c0H9tBsICZQ5ORKgssOgeSjOKSEfN3i7xUpzqXbdZiYxNL2Q>
|
||||||
|
|
||||||
## DNS Configuration
|
## DNS Configuration
|
||||||
|
|
||||||
There are the following two ways to set up the DNS.
|
There are the following two ways to set up the DNS.
|
||||||
|
|||||||
2096
package-lock.json
generated
2096
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -60,9 +60,10 @@
|
|||||||
"wait-on": "^7.2.0"
|
"wait-on": "^7.2.0"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"vuepress": "^2.0.0-rc.0",
|
"@vuepress/bundler-vite": "^2.0.0-rc.2",
|
||||||
"vuepress-plugin-search-pro": "^2.0.0-rc.6",
|
"vuepress": "^2.0.0-rc.2",
|
||||||
"vuepress-theme-hope": "^2.0.0-rc.11"
|
"vuepress-plugin-search-pro": "^2.0.0-rc.15",
|
||||||
|
"vuepress-theme-hope": "^2.0.0-rc.15"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"set-value": "^2.0.1",
|
"set-value": "^2.0.1",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user