File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 1919          command :
2020            - /bin/sh 
2121            - -c 
22-             # - export A=$(echo $POD_IP | tr '.' '-' | sed 's/$/.q-connector.pod.cluster.local/g') && echo ${A}
22+             #   - export A=$(echo $POD_IP | tr '.' '-' | sed 's/$/.q-connector.pod.cluster.local/g') && echo ${A}
2323            - sleep 3600 
24-           # securityContext:
25-           #   capabilities:
26-           #     add:
27-           #       - CAP_SYS_ADMIN
24+           #   securityContext:
25+           #     capabilities:
26+           #       add:
27+           #         - CAP_SYS_ADMIN
Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ spec:
1616        - name : hpa-simple-deployment 
1717          image : registry.k8s.io/hpa-example 
1818          ports :
19-           - containerPort : 80 
20-           resources :
21-             limits :
22-               cpu : 500m 
23-             requests :
24-               cpu : 200m 
19+              - containerPort : 80 
20+              resources :
21+                limits :
22+                  cpu : 500m 
23+                requests :
24+                  cpu : 200m 
2525---
2626apiVersion : v1 
2727kind : Service 
@@ -32,8 +32,8 @@ metadata:
3232spec :
3333  ports :
3434    - port : 80 
35-     selector :
36-       run : hpa-simple-service 
35+        selector :
36+          run : hpa-simple-service 
3737---
3838apiVersion : autoscaling/v2 
3939kind : HorizontalPodAutoscaler 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments