User Tools

Site Tools


editing_profile_resources

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
editing_profile_resources [2021/09/21 15:32] – [Adding the new encoding profile to MDT] walkeradminediting_profile_resources [2021/09/21 15:36] – [Editing the encoding profile] walkeradmin
Line 52: Line 52:
 \\  \\ 
 \\  \\ 
- +Below is the updated code block where we not only specify the vCPU request, we can also specify a limit that the PoD can go up to in terms of vCPU and memory.
- +
-==== Edited encoding profile ==== +
-\\  +
-Below is the edited file that was used in this process.+
 \\  \\ 
 \\  \\ 
 <code yaml> <code yaml>
-mdt-kinds: 
-  - kind: profile 
-    name: encoding-sky-hd-01 
-    version: '' 
-    packages: 
-      - deploy-package: encoding-live-worker-sky-hd-01 
-        version: 25.14.76+4.0.19 
-  - kind: deploy-package 
-    deploy-package: 
-      name: encoding-live-worker-sky-hd-01 
-      version: 25.14.76+4.0.19 
-    chart: 
-      name: encoding-live-worker 
-      version: 25.14.76 
-    namespace: '{{ products_var.namespace }}' 
-    deploy_list: 
-      - sky-01 
-    options: 
-      mdt: 
-        deployment_stage: 5 
-        upgrade: 
-          policy: immediate 
-      helm: 
-        wait: false 
-        timeout: 300 
-    values: 
-      image: 
-        serverdaemon: 
-          repository: '{{ products_var.docker_registry }}/mediakind/server-daemon' 
-          tag: '{{ products_var.server_daemon.tag }}' 
-        worker: 
-          repository: '{{ products_var.docker_registry }}/mediakind/encoding-live-worker' 
-        redis: 
-          repository: '{{ products_var.docker_registry }}/redis' 
-          tag: '{{ products_var.redis.tag }}' 
-        alarmProxy: 
-          repository: '{{ products_var.docker_registry }}/mediakind/alarm-proxy' 
-          tag: '{{ products_var.alarm_proxy.tag }}' 
-        initcontainer: 
-          repository: '{{ products_var.docker_registry }}/busybox' 
-          tag: 1.30.1 
-      alarmsViaRedisInWorkerPod: '{{ products_var.features.alarmsViaRedisInWorkerPod }}' 
-      el_worker: 
-        server_mngt_nic: '{{ products_var.server_mngt_nic }}' 
-        mpeg4cfg: | 
-          perChannelLicensing=true 
-      qsv: 
-        enable: false 
-      mongo: 
-        name: '{{ products_var.mongo.name }}' 
-        database: '{{ products_var.mongo.replicasetname }}' 
-        replica: '{{ products_var.mongo.replica }}' 
-      muhook: 
-        enable: '{{ products_var.features.muconv }}' 
-        interface: '{{ products_var.server_mngt_nic }}' 
-        process_name: '*liveTranscoder' 
-        log_level: 4 
-        log_output: stderr 
-      unified_ui: 
-        name: api-gateway 
-      rabbitmq: 
-        name: '{{ products_var.rabbitmq.name }}' 
-      etcd_mu: 
-        name: '{{ products_var.etcd.name }}' 
-        port: '{{ products_var.etcd.port }}' 
-      redis: 
-        name: '{{ products_var.redis.name }}' 
-      volumes: 
-        log: 
-          enable: '{{ products_var.log_volume }}' 
-      license_server_addr: '{{ products_var.license_server }}' 
-      server_processing_name: LiveEncoder 
-      nodeSelector: '{{ mdt.current_profile.profile_name_label }}' 
       resources:       resources:
         requests:         requests:
Line 140: Line 63:
           cpu: 15           cpu: 15
           memory: 10Gi           memory: 10Gi
-      privilegedInitContainer: 
-        enabled: true 
-        command: 
-          - sysctl 
-          - '-w' 
-      affinity: 
-        podAntiAffinity: 
-          requiredDuringSchedulingIgnoredDuringExecution: 
-            - topologyKey: kubernetes.io/hostname 
-              labelSelector: 
-                matchLabels: 
-                  app: encoding-live-worker 
 </code> </code>
 +\\ 
 +You will have to edit the file and upload it with a new set of name(s). Please [[duplicating_encoding_profiles|*** here ***]] for more instructions regarding this.
 +\\ 
 +\\ 
editing_profile_resources.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1