huanghongfa
2021-02-01 475b605ea01b76f365767e63cdac4753fef515d2
applets
1个文件已删除
1个文件已添加
2个文件已修改
60 ■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/.idea/workspace.xml 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/applets/src/main/resources/bootstrap.yml 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/deploy-file/applets.yaml 47 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/zuul/src/main/resources/application-prod.yml 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/.idea/workspace.xml
@@ -24,8 +24,8 @@
  <component name="ChangeListManager">
    <list default="true" id="8ba27629-3e5d-4f42-993e-d0c055bc9371" name="Default Changelist" comment="">
      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
      <change beforePath="$PROJECT_DIR$/auth/src/main/resources/bootstrap.yml" beforeDir="false" afterPath="$PROJECT_DIR$/auth/src/main/resources/bootstrap.yml" afterDir="false" />
      <change beforePath="$PROJECT_DIR$/deploy-file/service-auth.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/deploy-file/service-auth.yaml" afterDir="false" />
      <change beforePath="$PROJECT_DIR$/applets/src/main/resources/bootstrap.yml" beforeDir="false" afterPath="$PROJECT_DIR$/applets/src/main/resources/bootstrap.yml" afterDir="false" />
      <change beforePath="$PROJECT_DIR$/zuul/src/main/resources/application-prod.yml" beforeDir="false" />
    </list>
    <option name="SHOW_DIALOG" value="false" />
    <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -413,7 +413,7 @@
      <workItem from="1611834131869" duration="1431000" />
      <workItem from="1611883117467" duration="13328000" />
      <workItem from="1611913457874" duration="966000" />
      <workItem from="1612141547518" duration="19765000" />
      <workItem from="1612141547518" duration="20992000" />
    </task>
    <servers />
  </component>
springcloud_k8s_panzhihuazhihuishequ/applets/src/main/resources/bootstrap.yml
@@ -7,6 +7,7 @@
        enabled: true
        service-id: config  # 注册中心的服务名
      profile: prod  # 指定配置文件的环境
      uri: http://${CONFIG_URL:localhost}:8193/
  profiles:
    active: prod
  servlet:
springcloud_k8s_panzhihuazhihuishequ/deploy-file/applets.yaml
New file
@@ -0,0 +1,47 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: applets
spec:
  selector:
    matchLabels:
      app: springcloud-applets
  replicas: 3
  template:
    metadata:
      labels:
        app: springcloud-applets
    spec:
      containers:
        - name: applets-instance
          image: registry.cn-chengdu.aliyuncs.com/panzhihua/applets:v1
          imagePullPolicy: Always
          env:
            - name: EUREKA_URL
              value: eureka-server
            - name: CONFIG_URL
              value: config-server
          ports:
            - containerPort: 8195
      imagePullSecrets:
        - name: hhf
---
kind: Service
apiVersion: v1
metadata:
  name: service-applets
spec:
  selector:
    app: springcloud-applets
  ports:
    - protocol: TCP
      port: 8195
      targetPort: 8195
  #type: NodePort
springcloud_k8s_panzhihuazhihuishequ/zuul/src/main/resources/application-prod.yml
File was deleted