spec下载:Image File Format

介绍了MPEG-H标准中关于图像文件格式的部分,包括静止图像和图像序列的承载方式,该部分内容属于MPEG-H标准的第12部分。


https://mpeg.chiariglione.org/standards/mpeg-h/image-file-format



检查以下代码: apiVersion: v1 kind: Namespace metadata: name: fr-server --- # Tomcat StatefulSet 配置 apiVersion: apps/v1 kind: StatefulSet metadata: name: tomcat-statefulset namespace: fr-server spec: serviceName: "tomcat-service" replicas: 2 selector: matchLabels: app: tomcat template: metadata: labels: app: tomcat spec: containers: - name: tomcat image: tomcat:9.0.44-jdk8 ports: - containerPort: 8080 name: http volumeMounts: - name: webroot mountPath: /usr/local/tomcat/webapps/fr volumes: - name: webroot hostPath: path: /root/tomcat_server/webroot type: DirectoryOrCreate --- # # Tomcat 服务配置(NodePort 类型,直接对外暴露) # apiVersion: v1 # kind: Service # metadata: # name: tomcat-service # namespace: fr-server # spec: # type: NodePort # selector: # app: tomcat # ports: # - protocol: TCP # port: 80 # targetPort: 8080 # nodePort: 31438 # 可自定义 NodePort # Tomcat 服务配置(普通ClusterIP类型) apiVersion: v1 kind: Service metadata: name: tomcat-service namespace: fr-server spec: type: ClusterIP selector: app: tomcat ports: - protocol: TCP port: 8080 targetPort: 8080 --- # Nginx ConfigMap 配置 apiVersion: v1 kind: ConfigMap metadata: name: nginx-config namespace: fr-server data: nginx.conf: | worker_processes auto; error_log /var/log/nginx/error.log notice; pid /var/run/nginx.pid; events { worker_connections 1024; } http { include /etc/nginx/mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log main; sendfile on; keepalive_timeout 65; upstream tomcat_backend { server tomcat-service.fr-server.svc.cluster.local:8080; # 使用服务名而非Pod域名 keepalive 32; # 保持长连接 } server { listen 80; server_name localhost; # 配置根路径重定向到/fr/decision location = / { return 301 /fr/decision; } # 代理/fr/decision请求到Tomcat location /fr/decision { proxy_pass http://tomcat_backend/fr/decision; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; # 配置长连接 proxy_http_version 1.1; proxy_set_header Connection ""; # 超时设置 proxy_connect_timeout 15s; proxy_send_timeout 60s; proxy_read_timeout 60s; # 缓冲区设置 proxy_buffer_size 128k; proxy_buffers 4 256k; proxy_busy_buffers_size 256k; } } } --- # Nginx Deployment 配置 apiVersion: apps/v1 kind: Deployment metadata: name: nginx-loadbalancer namespace: fr-server spec: replicas: 1 selector: matchLabels: app: nginx-loadbalancer template: metadata: labels: app: nginx-loadbalancer spec: containers: - name: nginx image: nginx:1.21.6 ports: - containerPort: 80 volumeMounts: - name: config-volume mountPath: /etc/nginx/nginx.conf subPath: nginx.conf readOnly: true volumes: - name: config-volume configMap: name: nginx-config items: - key: nginx.conf path: nginx.conf --- # Nginx 服务配置(NodePort 类型,对外暴露) apiVersion: v1 kind: Service metadata: name: nginx-service namespace: fr-server spec: type: NodePort selector: app: nginx-loadbalancer ports: - protocol: TCP port: 80 targetPort: 80 nodePort: 31437
最新发布
10-15
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值