Apereo CAS Initializr 是 Apereo CAS 生态系统中的一个组件,允许您作为部署者根据快速启动所需的内容动态生成 CAS WAR Overlay 项目。

官方文档:https://apereo.github.io/cas/6.6.x/installation/WAR-Overlay-Initializr.html

cas-initializr.yaml

apiVersion: v1
kind: Service
metadata:
  name: cas-initializr-svc
  annotations:
    kubesphere.io/alias-name: Apereo CAS Initializr 服务
    kubesphere.io/description: Apereo CAS Initializr 服务
spec:
  ports:
    - name: tcp-8080
      port: 8080
      protocol: TCP
  selector:
    app: cas-initializr
  type: NodePort
---
kind: Deployment
apiVersion: apps/v1
metadata:
  name: cas-initializr-deploy
  annotations:
    kubesphere.io/alias-name: Apereo CAS Initializr 服务
    kubesphere.io/description: Apereo CAS Initializr 服务
spec:
  replicas: 1
  selector:
    matchLabels:
      app: cas-initializr
  template:
    metadata:
      labels:
        app: cas-initializr
    spec:
      containers:
        - name: cas-initializr
          image: 'apereo/cas-initializr'
          ports:
            - name: http-8080
              containerPort: 8080
              protocol: TCP
          imagePullPolicy: Always
使用 kubectl 执行如下命令部署 mindoc 服务 :
kubectl create -f skywalking-server.yaml --namespace=你的命名空间

kubectl create -f skywalking-server.yaml --namespace=dmp-prod

作者:Jeebiz  创建时间:2023-12-04 19:54
最后编辑:Jeebiz  更新时间:2024-05-06 16:13