用户可通过Web浏览器访问命令行界面,管理容器内部、服务、应用程序或数据库。该项目作为openFuyao平台核心组件,提供可交互CLI界面,支持进入集群和容器的管理操作,简化Kubernetes集群操作维护。【此简介由AI生成】
| Files | Last commit | Last update |
|---|---|---|
| 7 months ago | ||
| 1 year ago | ||
| 8 months ago | ||
| 3 months ago | ||
| 1 year ago | ||
| 1 year ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 1 year ago | ||
| 1 year ago | ||
| 1 year ago | ||
| 1 year ago | ||
| 1 year ago | ||
| 11 months ago | ||
| 11 months ago | ||
| 4 months ago | ||
| 4 months ago | ||
| 7 months ago | ||
| 7 months ago |
Web Terminal Service
Feature Introduction
Web Terminal is typically part of extensive cloud services or web-based services, allowing users to access command-line interfaces through web browsers. This is a virtual terminal that typically manages containers, services, applications, or databases directly through the web interface, without the need for local terminal emulation software or Secure Shell (SSH) clients. This feature is typically used to manage resource objects in the cluster, reducing dependence on local tools and simplifying the operation and maintenance process of Kubernetes clusters.
Installation Deployment
On the openFuyao platform, Web Terminal provides an interactive CLI interface for the platform. This feature is deployed as a core component along with the openFuyao platform, currently supporting management operations for entering clusters and containers.
Local Build
Image Build
Build Parameters
GOPRIVATE: Configure Go language private repository, equivalent to theGOPRIVATEenvironment variable.COMMIT: Hash value of the current git commit.VERSION: Component version.SOURCE_DATE_EPOCH: Timestamp of the image rootfs.
Build Commands
-
Build and push to specified OCI repository.
Using
dockerdocker buildx build . -f <path/to/dockerfile> \ -o type=image,name=<oci/repository>:<tag>,oci-mediatypes=true,rewrite-timestamp=true,push=true \ --platform=linux/amd64,linux/arm64 \ --provenance=false \ --build-arg=GOPRIVATE=gopkg.openfuyao.cn \ --build-arg=COMMIT=$(git rev-parse HEAD) \ --build-arg=VERSION=0.0.0-latest \ --build-arg=SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)Using
nerdctlnerdctl build . -f <path/to/dockerfile> \ -o type=image,name=<oci/repository>:<tag>,oci-mediatypes=true,rewrite-timestamp=true,push=true \ --platform=linux/amd64,linux/arm64 \ --provenance=false \ --build-arg=GOPRIVATE=gopkg.openfuyao.cn \ --build-arg=COMMIT=$(git rev-parse HEAD) \ --build-arg=VERSION=0.0.0-latest \ --build-arg=SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)Where
<path/to/dockerfile>is the Dockerfile path,<oci/repository>is the image address, and<tag>is the image tag. -
Build and export OCI Layout to local tarball.
Using
dockerdocker buildx build . -f <path/to/dockerfile> \ -o type=oci,name=<oci/repository>:<tag>,dest=<path/to/oci-layout.tar>,rewrite-timestamp=true \ --platform=linux/amd64,linux/arm64 \ --provenance=false \ --build-arg=GOPRIVATE=gopkg.openfuyao.cn \ --build-arg=COMMIT=$(git rev-parse HEAD) \ --build-arg=VERSION=0.0.0-latest \ --build-arg=SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)Using
nerdctlnerdctl build . -f <path/to/dockerfile> \ -o type=oci,name=<oci/repository>:<tag>,dest=<path/to/oci-layout.tar>,rewrite-timestamp=true \ --platform=linux/amd64,linux/arm64 \ --provenance=false \ --build-arg=GOPRIVATE=gopkg.openfuyao.cn \ --build-arg=COMMIT=$(git rev-parse HEAD) \ --build-arg=VERSION=0.0.0-latest \ --build-arg=SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)Where
<path/to/dockerfile>is the Dockerfile path,<oci/repository>is the image address,<tag>is the image tag, andpath/to/oci-layout.taris the tar package path. -
Build and export image rootfs to local directory.
Using
dockerdocker buildx build . -f <path/to/dockerfile> \ -o type=local,dest=<path/to/output>,platform-split=true \ --platform=linux/amd64,linux/arm64 \ --provenance=false \ --build-arg=GOPRIVATE=gopkg.openfuyao.cn \ --build-arg=COMMIT=$(git rev-parse HEAD) \ --build-arg=VERSION=0.0.0-latestUsing
nerdctlnerdctl build . -f <path/to/dockerfile> \ -o type=local,dest=<path/to/output>,platform-split=true \ --platform=linux/amd64,linux/arm64 \ --provenance=false \ --build-arg=GOPRIVATE=gopkg.openfuyao.cn \ --build-arg=COMMIT=$(git rev-parse HEAD) \ --build-arg=VERSION=0.0.0-latestWhere
<path/to/dockerfile>is the Dockerfile path andpath/to/outputis the local directory path.
Helm Chart Build
-
Package Helm Chart.
helm package <path/to/chart> -u \ --version=0.0.0-latest \ --app-version=openFuyao-v25.09Where
<path/to/chart>is the Chart folder path. -
Push Chart package to specified OCI repository.
helm push <path/to/chart.tgz> oci://<oci/repository>:<tag>Where
<path/to/chart.tgz>is the Chart package path,<oci/repository>is the Chart package push address, and<tag>is the Chart package tag.
Security Capabilities
openFuyao v26.06 and earlier versions only provide basic security features: mutual TLS (mTLS) between services and component-level user authentication and authorization (RBAC). Users and integration partners need to adapt and harden these capabilities according to their own deployment environments (e.g., introducing cert-manager, setting up unified certificates, deploying authentication middleware, and configuring NetworkPolicy to narrow the reachable scope). The current release focuses on delivering core functionality; security hardening is the responsibility of users. Security capabilities will be gradually planned and rolled out in subsequent versions.
License
Copyright © 2024.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Introduction
用户可通过Web浏览器访问命令行界面,管理容器内部、服务、应用程序或数据库。该项目作为openFuyao平台核心组件,提供可交互CLI界面,支持进入集群和容器的管理操作,简化Kubernetes集群操作维护。【此简介由AI生成】
Customize your domain