让我们从一些上下文开始:
我正在研究CKS和阅读CIS_Kubernetes_Benchmark_v1.6.0.pdf,其中有一个令人困惑的部分:
1.2.17 Ensure that the admission control plugin NodeRestriction is set (Automated)
...
Verify that the --enable-admission-plugins argument is set to a value that includes
NodeRestriction.
Remediation:
Follow the Kubern
我有一个Vue.js应用程序,我的部署设置非常标准,
Pod ->服务->入侵
这是相关代码,
Dockerfile
FROM node:lts-alpine AS build
WORKDIR /app
COPY . .
# Default build mode
ARG MODE=production
# Build the dist folder
RUN npm ci
RUN npm run build ${MODE}
# Serve from nginx
FROM nginx:alpine
COPY ./nginx.conf /etc/nginx/nginx.co