Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • V verify
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 22
    • Issues 22
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ran.lu
  • verify
  • Wiki
  • istio external auth 观察

istio external auth 观察 · Changes

Page history
Update istio external auth 观察 authored Dec 22, 2022 by ran.lu's avatar ran.lu
Hide whitespace changes
Inline Side-by-side
istio-external-auth-观察.md
View page @ 0b7b7d1c
......@@ -14,7 +14,39 @@ https://istio.io/latest/blog/2021/better-external-authz/
remark: well-written
> ![image](uploads/6039fb1f405c0e04033682c8683ee2f8/image.png)
related file: InstallationYTung/manifests/infra-charts/istio-controller/templates/configmap.yaml
### related file
#### InstallationYTung/manifests/infra-charts/istio-controller/templates/configmap.yaml
```yaml
{{- if .Values.global.enableExtAuthz }}
extensionProviders:
- name: "aaa-authz-grpc"
envoyExtAuthzGrpc:
service: "pch-bff-pipeline.apulis.svc.cluster.local"
port: "9000"
includeHeadersInCheck: ["Authorization"]
{{- end }}
```
#### InstallationYTung/manifests/infra-charts/istio-controller/templates/authz-grpc.yaml
```yaml
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
name: aaa-grpc
namespace: istio-system
spec:
action: CUSTOM
provider:
# The provider name must match the extension provider defined in the mesh config.
name: aaa-authz-grpc
rules:
- when:
- key: request.headers[From]
values: ["fronted"]
to:
- operation:
paths: ["/api/v1*"]
```
# further reading
......
Clone repository
  • 3.137 环境 websocket 连接失败,其它环境无此问题
  • 3.137 环境,即使使用 env 中的 grafana 密码,都无法登陆;测试环境则可以
  • 3.172 不定期出现“疯狂写盘”
  • [2022 11 17] 本地数据集要在 slurm|superpodk8s 上面使用
  • [TODO] 合入日志加速发动
  • [build] 加快 SDK 打包
  • [info] 平台日志
  • [优化] ai arts 调用 aim 时,设置超时时间
  • [问题] aim SDK, 连不上 rpc 时会报错?这不能达到无感知
  • [问题] aimstack 有时会很慢
  • [问题] desay 171 部署: 单个训练成功, 收到 2 次调用, 一次训练成功, 一次训练失败
  • [问题] 收集到的日志只有几个服务。问题: 这个是哪里配置的?
  • aim SDK 支持 tensorboard 日志
  • aim SDK 瘦身
  • gpu02环境 选择 推理模型目录 很慢
View All Pages