Skip to content

Commit

Permalink
add auto deploy ci
Browse files Browse the repository at this point in the history
Signed-off-by: duanmengkk <[email protected]>
  • Loading branch information
duanmengkk committed Sep 4, 2024
1 parent 85847b3 commit 5ca30c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/v0.2.0/proposals/distribution-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Kosmos provides a multi-cluster scheduler (kosmos-scheduler) and some scheduling
[Code](https://github.com/kosmos-io/kosmos/pull/321) responsible for working with DistributionPolicy and ClusterDistributionPolicy CRD API will be imported in the kosmos-scheduler plugins repo. DistributionPolicy is namespace scope and ClusterDistributionPolicy is cluster scope.

#### Filter extension points implementation details
Since target resources distribution policies are stored in the CRD (DistributionPolicy & ClusterDistributionPolicy), kosmos-scheduler should be subscribed for updates of appropriate CRD type. kosmos-scheduler will use informers which will be generated with the name dpInformer(cdpInformer). CRD will contian in ResourceSelectors and PolicyTerms. ResourceSelectors used to select resources and is required. PolicyTerms represents the rule for select nodes to distribute resources.
Since target resources distribution policies are stored in the CRD (DistributionPolicy & ClusterDistributionPolicy), kosmos-scheduler should be subscribed for updates of appropriate CRD type. kosmos-scheduler will use informers which will be generated with the name dpInformer(cdpInformer). CRD will contain in ResourceSelectors and PolicyTerms. ResourceSelectors used to select resources and is required. PolicyTerms represents the rule for select nodes to distribute resources.

**Description of the ResourceSelectors rules**
1. ResourceSelectors is required
Expand Down
2 changes: 1 addition & 1 deletion src/components/HomepageDescription.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function Feature() {
<div className={styles.leftInfo}>
<img src="img/feature-info.svg" alt="" />
</div>
<div className={styles.rigthInfo}>
<div className={styles.rightInfo}>
<div className={styles.featureTitle}>What is Kosmos?</div>
<div className={styles.featuresDes}>
<p>Kosmos is an open-source, integrated distributed cloud-native solution. The name "kosmos" is formed by combining the "k" representing Kubernetes with "cosmos" from Greek, symbolizing the infinite scalability of Kubernetes.</p>
Expand Down
2 changes: 1 addition & 1 deletion src/components/HomepageDescription.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
width: 100%;
}

.rigthInfo {
.rightInfo {
width: 50%;
display: flex;
flex-direction: column;
Expand Down

0 comments on commit 5ca30c6

Please sign in to comment.