-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'OpenVisualCloud:main' into main
- Loading branch information
Showing
13 changed files
with
118 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
|
||
echo "Create MCM cluster." | ||
minikube start --nodes 3 --namespace mcm --insecure-registry "10.0.0.0/24" | ||
|
||
echo "Enable minikube addons." | ||
minikube addons enable registry | ||
minikube addons enable metrics-server | ||
|
||
echo "Set name for worker nodes." | ||
worker_node_0="minikube-m02" | ||
worker_node_1="minikube-m03" | ||
|
||
echo "Load MCM docker image into cluster." | ||
minikube image load mcm/media-proxy:latest | ||
|
||
echo "Set node label to MCM worker nodes." | ||
kubectl label nodes ${worker_node_0} node-role.mcm.intel.com/worker=true | ||
kubectl label nodes ${worker_node_1} node-role.mcm.intel.com/worker=true | ||
|
||
echo "Deploy Media Proxy DaemonSet." | ||
kubectl create -f DaemonSet/media-proxy.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
FROM ubuntu:22.04@sha256:2b7412e6465c3c7fc5bb21d3e6f1917c167358449fecac8176c6e496e5c1f05f as builder | ||
FROM ubuntu:22.04@sha256:8eab65df33a6de2844c9aefd19efe8ddb87b7df5e9185a4ab73af936225685bb as builder | ||
LABEL maintainer="[email protected]" | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
|
@@ -44,8 +44,8 @@ RUN mkdir -p /opt/mcm/3rd_party/ | |
RUN adduser ${USER} sudo \ | ||
&& echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers | ||
|
||
# Install latest versions of CMake and Conan using pip3 package installer | ||
RUN python3 -m pip install --no-cache-dir "conan<2" | ||
# Install Conan using pip3 package installer. | ||
RUN python3 -m pip install --no-cache-dir conan=1.62.0 | ||
|
||
# Build DPDK/IMTL | ||
ENV DPDK_VER=23.03 | ||
|
@@ -84,7 +84,7 @@ WORKDIR $MCM_DIR | |
RUN ./build.sh | ||
|
||
## Re-build container for optimised runtime environment using clean Ubuntu release | ||
FROM ubuntu:22.04@sha256:2b7412e6465c3c7fc5bb21d3e6f1917c167358449fecac8176c6e496e5c1f05f | ||
FROM ubuntu:22.04@sha256:8eab65df33a6de2844c9aefd19efe8ddb87b7df5e9185a4ab73af936225685bb | ||
|
||
ARG USER=docker | ||
RUN useradd -l -m -s /bin/bash ${USER} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters